GithubHelp home page GithubHelp logo

rneomy / javascript-toggle-on-and-off Goto Github PK

View Code? Open in Web Editor NEW
38.0 5.0 17.0 294 KB

A lightweight method to turn JavaScript on and off in multiple platforms (Firefox and Chromimum)

Home Page: https://webextension.org/listing/javascript-toggler.html

JavaScript 92.34% HTML 5.74% CSS 1.93%
chrome-extension content-security-policy edge-extension firefox-addon javascript opera-addon opera-extension

javascript-toggle-on-and-off's People

Contributors

ghostwritertncs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

javascript-toggle-on-and-off's Issues

White list feature

Hi, and thanks for your great extension!

I really like this minimalistic solution as it works perfectly.
Just one question. What about white list feature to allow js for specific websites by default?

Does not work in Firefox Developer Edition on Linux Mint

I am using the extension in the following browsers and it has not worked when I disable JavaScript. JavaScript is still enabled when the JavaScript toggle button shows JavaScript is off.

  • Firefox 108.0.2 (64 Bit) on Linux Mint 21.1
  • Firefox Developer Edition v109.0b9 (64 Bit) on Linux Mint 21.1

This has been the case for awhile. Not sure why but I thought I should open up an issue.

not working in Firefox Nightly (FF57)

-Install add-on
-observe status of javascript two ways
1-about:config javascript.enabled (true|false)
2-observe a website that behaves differently depending upon javascript enabled/disabled

The result is that this add-on does not cause javascript to be enabled or disabled

Invisible icon with dark theme

Hi,I'm glad to find simple but useful extension.

You can see invisible icon with Firefox "Compact Dark" theme.
I think not a little Chrome and Opera user with dark theme,too.

separator in context menu Firefox

Addon add our separator in right click menu from website elements

I must hide it in userChrome.css (Firefox < 59):

#_479f0278-2c34-4365-b9f0-1d328d0f0a40__separator   { display:none !important; }

Updated CSS (changed in Firefox 59 or 60):

#_479f0278-2c34-4365-b9f0-1d328d0f0a40_-menuitem-_separator  { display:none !important; }

Adaptation to Pale Moon

I would like to use this excellent add-on in Pale Moon browser, a fork of Firefox with significant differences. Would you be interested in porting your addon over to be Pale Moon compatible?

Although PM does not support Mozilla Add-on SDK, there is PMKit for adapting JetPack extensions (basically, a library that provides basic compatibility layer with Mozilla Add-on SDK).

Many developers have successfully adapted their JetPack extensions for PM, as you can see here: https://github.com/JustOff/pm27-sdk-addons/blob/master/README.md

Icon updated?

In the latest version, the icon seems to be updated. it now shows a dark/grey [x] over the icon (JS is set to disabled.)
This makes it harder to see visually than how it was working before, where a red [x] was shown over the icon (JS is set to disabled.)
Please change back to showing a red [x] over the icon (JS is set to disabled.)

Temporarily allow JS in a tab/website

Wouldn't it be nice if there was a keyboard shortcut to temporarily allow JS in that website you are visiting that one time without having to enable JS altogether for all tabs or including and then excluding it from the whitelist?

Feature Request - Remember previous JS toggle state after Firefox is restarted

I've noticed that if I restart FF, JS is always re-enabled, even if it was switched off previously.

Because restarting re-loads all previously open windows and tabs, this means that they always re-load with JS enabled, which is very annoying: Often unwanted videos start playing, etc. In some cases (if you've turned off JS to block potentially malicious scripts), it might also be a security risk.

I'd like to suggest that the extension should remember its previous state after a browser restart, to fix this problem.

Does not appear to be working on Firefox 57.0

Setting of toggle does not appear to affect javascript execution - had to use toggle in about:config to change javascript settings. Also not sure if "JavaScript Test Suit" (sic) is working. Abandoning add-on.

Feature Request - Hot-key

I used to use QuickJS before Firefox ditched legacy add-ons and this one seems to be as close to that add-on as I can find at the moment. Anyway, QuickJS used "Ctrl + Q" as a hot-key to toggle Javascript on/off which was very useful to me.

Would it be possible to add support for a hot-key with this add-on?

Great plugin! But broken with FF 75.0 (64-bit) Win7

Subject says it all. Upgraded FF to 75.0. Noticed it wasn't working.

I deleted the plugin and tried to re-install, and got "plugin appears corrupt."
Another attempt and it works, for a while. When I uncheck the two "reload" buttons in config, stops working again.

This is a great plugin, and I use it often. Please update if you can! Thanks.

script-src CSP was being injected all the time

I just had an issue where the script-src CSP was turning up in a site I was developing. Toggling the JS button on and off didn’t do anything, and neither did restarting Firefox (today’s Nightly). Ended up disabling the extension completely and reenabling it, which fixed the problem. Unfortunately I have no idea how it got into that state and can’t replicate it, but worth reporting anyway. Feel free to close if you want.

Reload doesn't restore JS - need to SHIFT-Reload

FF57 x64 on Windows 10 x64:

When JS is off, turning it back on doesn't work (neither with a manual reload, nor with the "auto-reload-on-toggle" feature) until you manually perform a SHIFT-reload. Note that going the other way (turning JS off when it's on) works correctly (oddly!).

Since the "auto-reload-on-toggle" doesn't SHIFT-Reload, it is broken in this case.

This happens on site: http://tools.add0n.com/check-javascript.html

This add-in breaks the DuckDuckGo search

When this add-in is enabled it breaks the DuckDuckGo search and a number of websites.
A DuckDuckGo query doesn't return anything - just a blank page
Redbox.com just shows a black screen.
Windows 10 (1909)
Firefox 81.0.1 (64 bit)

Option for standard setting on new tabs

Would it be possible to implement a standard state for newly opened tabs/windows?
I.e. when I allowed JS on one page, then open a new one and do not keep the "allowed" state, but deny JS on new tabs in general?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.