Comments (6)
Hey @sir-harlekin!
Thanks for your question. Actually, if you open the web extension settings page (right click on the switch icon and select Open Disable JS settings
, you can remove the www.amazon.com
entry and add a amazon.com
entry with Include sub-domains?
checked.
That way you can whitelist/blacklist all subdomains belonging to one TLD.
This should solve your issue.
However, I find it interesting that Amazon works for you if you block things by tab but not if you block it via domain.
For me it works in both cases.
And reviewing my code, there's no difference in how to block JS for either case.
I would like to inspect this behavior a bit more. Could you please define which Amazon URL does not work for you if you disable JS by domain? And maybe not just the URL but also what exactly you expect to work (which functionality).
Also, a screenshot of your Disable JavaScript settings would be great :)
Thanks for your help!
from disable-javascript.
I have same problem with some sites not fully working if using "by domain". It only work properly if using "by tab" or disabling extension altogether. The one I was just using was ebay.com.au creating a listing the add photo dialog not showing. Another site it was one of those recaptcha pic select things not showing
from disable-javascript.
@ugulz Could you please provide me the exact steps on how to reproduce the issue?
Something like
- Start Firefox/Chrome
- Go to the site www.domain.com
- Click on the link "Example"
- This site is not working
In addition, please specify which browser you are using and a screenshot of your Disable JavaScript
settings would also be great.
I know it's a lot on information I ask for but I can't reproduce the bug on my Windows nor on my Mac machine. Thanks a lot for your support!
from disable-javascript.
Also, please update to the web extension version 2.3.1
. I've published it today, it may take up to one day for your browser to update it. Let me know if you're still experiencing any issues after the update and if so, how I can reproduce the issue, thanks a lot!
from disable-javascript.
its only a problem when using as whitelist. Some site load another document from another domain and scripts called from that doc aren't running unless manually add that domain to whitelist. I guess its same issue as iframe enhancement you mention in another post
from disable-javascript.
@ugulz Unfortunately I can't reproduce the described issue. Here's what I've tried:
- Settings: Default state = off, Disable behavior = domain. Domain list = empty
- Browse to https://pacassi.ch/jquery.html and open console
- I only see errors about refusing to load JavaScript
- Click on the web extension icon (pacassi.ch is added to the domain list)
- I see the output of local executed JavaScript
- I see that jQuery has been successfully loaded through a CDN (from code.jquery.com)
So, when allowing a site through the web extension, it will allow that site to load external JavaScript as well.
What's not handled is if the site has iframes integrated ( #41 ).
I'm therefor closing this issue. If you still experience a bug though, please open a new issue describing on how to exactly reproduce the error. Thanks!
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
- [Feature Request] Add an option to disable JavaScript without refreshing the page HOT 2
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.