Comments (2)
Second this. This is mostly the feature I'm looking for, I'm fine with JavaScript running at page rendering but I don't want it to continue and waste memory after that
Edit: Upon a quick glance at the source code, it seems this extension, like basically every similar one on the addon store, just re-sends the request with a header appended and some additional tricks to get a new page without JavaScript. So we can't get rid of the refresh since it's here by design
Most of people like me who installed this addon with that feature in mind may have thought it could directly disable it, nuking the scripts and stopping the engine, but we've clearly been misguided. It could have been possible when Firefox used to accept addons that were interacting more directly with the browser, but now thanks to the ""security"" oriented mindset thinking every user is an idiot who has no idea what they're installing it is no longer possible and we're reduced to use glorified webpages interacting with a poor API leaving no freedom to attackers indeed, but also to advanced developers. Good job, Firefox team.
from disable-javascript.
I came here to request this feature.
After reading Minabsapi's comment, I'd like to specify the functionality I am looking for... maybe there is some way to obtain it, since it may be more limited than fully disabling javascript.
The primary reason I want to disable javascript at any time is to prevent webpages from doing things in response to something I do. That is, some web pages have javascript functions that are triggered "on event".
Example 1: I type my valid email address into a form and some javascript is fired on the keypress event (or the submit event) which incorrectly evaluates that my email address is not valid. (My address has hyphens in the domain part, which some web developers do no realize is valid.) Sometimes if I use Developer Tools to disable the event, I can successfully use the website (because the broken code was client-side only; the server-side code was less broken). Suppose that the rest of the form needs javascript to render properly: then a page refresh after disabling javascript will not achieve my goal.
Example 2: I scroll on a page and some "sticky" floating div appears. A page refresh after disabling javascript might achieve my goal, unless rendering the rest of the page requires javascript.
Example 3: I right click on a page, or attempt to paste, or attempt to select text to copy, etc, and the javascript on the webpage says no. (UGH!! :)) Again, a page refresh after disabling javascript might achieve my goal, unless rendering the rest of the page requires javascript.
I hope this helps someone somehow!
from disable-javascript.
Related Issues (20)
- ID attribute is not retained HOT 1
- Doesn't work at pamplinmedia.com
- Rework for manifest v3 HOT 2
- Turn off JS by deafult and turn it on only when the site does not work HOT 1
- Need option change shortcut key
- [Feature request] Add a confirmation dialog for "Remove All" HOT 1
- Add an option to have the toolbar toggle enable/disable the js for an entire site and subdomains (i.e. google.com : subdomains ✓)
- [Bug] Canvas alternate content is not displayed
- import - export domain list
- [Feature Request] Support whitelist of specific webpage on a blacklisted domain.
- [Feature Request] Toolbar icon
- `@media scripting` is still `enabled` when JS is toggled off
- Seems to not be working for several news sites now
- New version contains malware
- "This extension contains malware and is unsafe. Remove it from Chrome so it can no longer see and change your data on sites you visit, including your personal info." HOT 16
- Re-fill form fields when toggling Javascript
- Sync or backup/restore?
- Inverted logic is consistent HOT 1
- Not working on Firefox 94.0.2 HOT 1
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 disable-javascript.