dpacassi / disable-javascript

Adds the ability to disable JavaScript on specific sites.
MIT License
275 stars 35 forks source link

[Feature Request] Right-click option to temporarily whitelist #25

Open 1337ingDisorder opened 6 years ago

1337ingDisorder commented 6 years ago

Just started using this addon and it works great so far!

One feature I miss from the now-defunct ScriptBlock addon is the ability to temporarily enable javascript on a specific domain/page without permanently whitelisting it.

Sometimes you just want to see something on a page once, and you're never likely to go back to that site. In those cases, having the site permanently whitelisted is an unnecessary security risk. (Not to mention it results in a massively cluttered whitelist.)

It would be great if there was an option in the addon's right-click menu that would enable javascript for the current session, but once a new session opens it would only re-enable javascript for the sites that have been added to the whitelist, and would forget any sites that were only temporarily enabled in the previous session.