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
Original issue reported on code.google.com by
wOxxOm
on 21 Aug 2014 at 12:15