meetDeveloper / JavaScript-Switcher

A Mozilla Firefox extension to toggle JavaScript on Individual Domain.
GNU General Public License v3.0
26 stars 3 forks source link

Not obvious when accidentally enabled. #5

Open imthought opened 4 years ago

imthought commented 4 years ago

When it is enabled the icon goes gray, but if you miss that all you get are content security policy errors in Firefox for all JS scripts. It would be great if when it was enabled it output a console log to tell a person it is that it is turned on in the same place it will create errors. That way id it is accidentally tripped it or set it some time ago on a site that the user is going back they don't end up ripping out their hair trying to figure out why they are getting CSP errors.

meetDeveloper commented 4 years ago

@imthought Will fix this today.

goozak commented 3 years ago

Just spent an hour pulling my hair out with this! Finally decided to try a new Firefox profile and when that worked, went thru my extensions to find the culprit.

The worst part is that it's not the first time... 😭