The add-on for Firefox that I mentioned last time is finally available on the Mozilla add-ons site.
This adds a enable/disable JavaScript toggle option to the Tools menu on Firefox for Android.
The code is on github if you want to see how to make a simple Firefox Add-on. It took me longer than it should have to write this, as I had trouble finding documentation on the technique to read/write a global preference. The code (in JavaScript, ironically enough) is about 120 lines. Only 30 of those are really the meat of the add-on.
Comments and ratings would be helpful. I use this add-on every day to save on bandwidth and battery. The one feature I may add is to have the page reload when you enable JavaScript again, but even that might be too much feature-creep.
The code is on github if you want to see how to make a simple Firefox Add-on. It took me longer than it should have to write this, as I had trouble finding documentation on the technique to read/write a global preference. The code (in JavaScript, ironically enough) is about 120 lines. Only 30 of those are really the meat of the add-on.
Comments and ratings would be helpful. I use this add-on every day to save on bandwidth and battery. The one feature I may add is to have the page reload when you enable JavaScript again, but even that might be too much feature-creep.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.