ivicaaa / organize-search-engines

Automatically exported from code.google.com/p/organize-search-engines
Other
0 stars 0 forks source link

Make the addon restartless when a user enables/disables it #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Make the addon restartless when a user enables/disables it.

Here are some quotes from 
https://adblockplus.org/blog/why-you-should-make-your-next-add-on-restartless
1. It is nice to install an extension within a second and to continue doing 
whatever you’ve been doing before
2. Testing a restartless extension during development is easier
3. Only the install manifest and a single JavaScript file are required
4. You don’t have to worry that another extension will declare a variable 
with the same name
5. If your extension leaks memory or doesn’t clean up after itself properly 
you will notice

Original issue reported on code.google.com by wOxxOm on 21 Aug 2014 at 12:15

GoogleCodeExporter commented 8 years ago
Also the conversion guide: 
https://developer.mozilla.org/en-US/Add-ons/How_to_convert_an_overlay_extension_
to_restartless

Original comment by wOxxOm on 21 Aug 2014 at 12:20