Closed ghost closed 2 years ago
I would like to suggest some improvements in Javascript blocking. The current method of Javascript blocking is tedious and troublesome: One, when you block JavaScript on all sites and you have compiled a list of sites you wanna allow to have access to JavaScript, those whitelisted sites will continue to have their use of JavaScript blocked; two, when a website is among the list so sites under one domain name, whitelisting all those will take up so much time.
Take ProtonMail as an example. It has loads of websites:
protonmail.com
mail.protonmail.com/login
protonmail.com/signup
account.protonmail.com
zendesk.protonmail.com
When I try to whitelist them from having JavaScript blocked on all sites, they still get blocked; plus, when I try to add each individual sites to the Block JavaScript whitelist, it makes my list of whitelist sites really long, and I may not add all sites under the
protonmail.com
domain at the same time, and adding all those other sites will consume so much of my time on top of troubleshooting the issue that JavaScript will still be blocked on those sites nonetheless.I have three suggestions to make JavaScript blocking much easier:
- Whitelist JavaScript Blocking Based on Domain Name —Can't list down all the websites related to one domain? Then why not just block JavaScript on that domain instead of blocking its individual sites.
- Address Bar Toggle to Enable/Disable JavaScript on Sites —This option is commonplace on desktop browsers with the shield/lock button close to the address bar, so adding this one would be a nice touch.
- NoScript Extension Integration —Perhaps the king of JavaScript blocking, as you can block specific domain names across all sites. So there wouldn't be the need to break all sites by blocking all JavaScript for one site, but we can just block the specific domain names from using JavaScript in all sites we visit. Wanna block a domain name from using JavaScript temporarily? NoScript's got your back. Wanna deem a domain name a "Untrusted"? NoScript can do just that. Set a custom rule for a specific domain? NoScript again.
One simple solution that i use is that you can clone SCW with appcloner free version (it let you to create one clone), then you disable JavaScript in it and use it.
And keep JavaScript enabled in the original SCW.
Then when you wanted to use those websites that require JavaScript to be enabled, you can just use original SCW.
And for reading articles and using websites that are usable with JavaScript disabled, you can use the cloned version you created with app cloner.
And because SCW has these option that i marked it with circle in the screenshot below, this way of using is really easy and efficient.
You can easily tap on this option in three dot menu when one website didn't worked without JavaScript and select original SCW from there and after you read the website or did your work, close original SCW and you will switch back to your cloned version of SCW that has JavaScript disabled.
But be aware, cloning can make the cloned apk a little unstable.
But i was ok with it, no problem so far.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Unstale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I would like to suggest some improvements in Javascript blocking. The current method of Javascript blocking is tedious and troublesome: One, when you block JavaScript on all sites and you have compiled a list of sites you wanna allow to have access to JavaScript, those whitelisted sites will continue to have their use of JavaScript blocked; two, when a website is among the list so sites under one domain name, whitelisting all those will take up so much time.
Take ProtonMail as an example. It has loads of websites:
protonmail.com
mail.protonmail.com/login
protonmail.com/signup
account.protonmail.com
zendesk.protonmail.com
When I try to whitelist them from having JavaScript blocked on all sites, they still get blocked; plus, when I try to add each individual sites to the Block JavaScript whitelist, it makes my list of whitelist sites really long, and I may not add all sites under the
protonmail.com
domain at the same time, and adding all those other sites will consume so much of my time on top of troubleshooting the issue that JavaScript will still be blocked on those sites nonetheless.I have three suggestions to make JavaScript blocking much easier:
Whitelist JavaScript Blocking Based on Domain Name —Can't list down all the websites related to one domain? Then why not just block JavaScript on that domain instead of blocking its individual sites.
Address Bar Toggle to Enable/Disable JavaScript on Sites —This option is commonplace on desktop browsers with the shield/lock button close to the address bar, so adding this one would be a nice touch.
NoScript Extension Integration —Perhaps the king of JavaScript blocking, as you can block specific domain names across all sites. So there wouldn't be the need to break all sites by blocking all JavaScript for one site, but we can just block the specific domain names from using JavaScript in all sites we visit. Wanna block a domain name from using JavaScript temporarily? NoScript's got your back. Wanna deem a domain name a "Untrusted"? NoScript can do just that. Set a custom rule for a specific domain? NoScript again.