Comments (7)
Working for me in today’s Nightly. Tested on https://google.com/maps which gives you a blank page with no JS available.
from javascript-toggle-on-and-off.
The result is approximately as before. It did appear to work a little but mostly not. The config value javascript.enabled is not changed by toggling the add-on.
My user agent is : Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
I'm running Nightly: 20170904100131 (the update of 9/4)
The javascript toggle add-on was re-installed this morning to insure it's at the latest level
from javascript-toggle-on-and-off.
It works fine for me too. Note that the extension has a test page. Right-click on the toolbar button to open the test page.
If you have an example site that the add-on is not operating as expected please provide the link.
about:config javascript.enabled (true|false)
WebExtension add-ons cannot change internal preferences. The extension uses WebRequest API to block JS execution.
from javascript-toggle-on-and-off.
It is working to the extent that it can in FF57. It does block javascript execution. It does not override the configuration setting javascript.enabled in about:config. If javascript.enabled is set false, the add-on has no effect. It cannot cause javascript to run if javascript.enabled is set false.
If the javascript.enabled is set true then the add-on can block javascript.
Perhaps the description or FAQs could be modified to include this detail?
from javascript-toggle-on-and-off.
After trying it more, Google search results with javascript.enabled set FALSE is not the same as relying on the add-on to effectively disable javascript. With real javascript disabled (javascript.enabled FALSE) the result of a google search looks different from [javascript.enabled TRUE and the add-on in place, togged to off].
from javascript-toggle-on-and-off.
Google search results with javascript.enabled set FALSE is not the same as relying on the add-on to effectively disable javascript.
When the extension is enabled, Google does not know it and hence tries to load the page as JS engine is enabled. But when this flag is set to FALSE, Google knows that browser has no JS engine and hence loads no JS version of itself.
As far as I know, the extension can block all the JS executions just fine.
from javascript-toggle-on-and-off.
Long term, the result of using this extension is that it would appear to content providers that almost all Firefox users have javascript enabled. Currently, web developers have to consider a larger minority of readers do not allow javascript.
On a further point I'm not in a position to test, many of those fake email messages that say 'FedEx couldn't deliver your package' or 'your Amazon order was cancelled' try to get people to access their bad website with javascript enabled. Has this add-on been tested against such a rogue, especially if the rogue thinks it just connected to someone with javascript enabled?
from javascript-toggle-on-and-off.
Related Issues (20)
- Button caption text confusing when button placed in application panel HOT 4
- Does not appear to be working on Firefox 57.0 HOT 6
- Reload doesn't restore JS - need to SHIFT-Reload HOT 1
- Toolbar icon missing in Android version HOT 1
- Turning JS off doesn't trigger noscript tags HOT 2
- Feature Request - Hot-key HOT 6
- Feature Request - Remember previous JS toggle state after Firefox is restarted HOT 2
- The icon should display whether the current site is white- or blacklisted
- Addon doesn't affect `file://` URLs. HOT 1
- separator in context menu Firefox
- temporary change of the key javascript.enabled value in Firefox 59+
- Temporarily allow JS in a tab/website
- Great plugin! But broken with FF 75.0 (64-bit) Win7
- This add-in breaks the DuckDuckGo search
- m
- m HOT 2
- O
- Ma
- Icon updated?
- Does not work in Firefox Developer Edition on Linux Mint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javascript-toggle-on-and-off.