Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google Chrome Extensions support multithreaded programming?

Say, I want to open up a new thread each time a button is clicked in my extension, how can I do that?

I know that the various tabs are handled by a chrome task manager which treats each tab as a parallel process. Therefore, if the answer to my question is no, can we somehow exploit this task manager to have the same effect? Perhaps using some hidden tabs?

like image 263
spiritusozeans Avatar asked Jul 09 '12 13:07

spiritusozeans


1 Answers

This can be achieved with Web Workers: http://www.html5rocks.com/en/tutorials/workers/basics/

like image 131
Dan Smith Avatar answered Nov 09 '22 17:11

Dan Smith