
A simple toggle for globally enabling / disabling JavaScript.
I released JS Toggle a little over a year ago and I’m proud to say that I still use it nearly every day. I created this extension because I wanted two things:
* A simple javascript toggle that I could trust not to send my data anywhere, and that does not request unnecessary permissions (i.e. it is not necessary to view the content of a website to prevent it from executing code).
* An aesthetic that wasn’t too ugly so I could tolerate the toggle button being visible in my browser menu.
There are similar extensions that are more robust (note that JS Toggle is only 4.74KiB), but I like code that strives to do only a single task without additional bells and whistles. No surprises here – just a simple, unobtrusive switch.
A great extension which does what it promises; it just didn’t meet my specific requirements.
Pro’s:
– it enables/disables javascript with the push of a button (top-right pinned extension).
– it only asks for the needed permission (please note that javascript is bundled with other settings in the permission system; the extension is NOT asking for camera/microphone access as some may think).
Cons:
– it disables Javascript on all open tabs / reloading all of them when you toggle it. I was looking for a per-tab toggle, like how the built-in dev-tools allow you do disable it for a specific tab (F12, ctrl+shipt+p, Disable Javascript / Enable Javascript). Disabling/enabling JS on all tabs slows down operation as all tabs need to be reloaded, instead of just one.
Feature requests for the author:
– check whether it’s possible to toggle Javascript on just one tab, and if it’s possible make it a setting.
– allow users to enable/disable automatic reloading of a tab upon toggling Javascript.