JavaScript Switcher 的評論
JavaScript Switcher 作者: meetDeveloper
Kinnear 所留下的評論
Hi Suraj
Just to clarify one thing (since I can't reply to your original message), I believe I made one bit more complex than I implied.
So, it doesn't need to specifically detect if JS is enabled for each domain a page loads. It simply disables JS for each domain automatically. It just lists all domains being accessed on the current tab, and JS is disabled for them all. You can then select which domains from the drop-down you want to allow to use JS. At that stage, it refreshes the page (and the list, since some of the domains you've allowed access to may now be loading scripts pointing to more domains).
While NoScript goes beyond this and does things like intercepting individual scripts on specific pages, etc, simply being able to whitelist/blacklist multiple domains at once (especially since a lot of ad servers don't have 'pages' that you can actually visit) from within a site you're using is great basic functionality. Since the target audience is power users, being able to make the call on which domains to allow which the page is loading, allows us to tailor the functionality of the site, since most core functionality will come from just a few of the domains. For non experienced users, then a JS on-off script is going to be fine.
Good luck, and thanks for your hard work!
Just to clarify one thing (since I can't reply to your original message), I believe I made one bit more complex than I implied.
So, it doesn't need to specifically detect if JS is enabled for each domain a page loads. It simply disables JS for each domain automatically. It just lists all domains being accessed on the current tab, and JS is disabled for them all. You can then select which domains from the drop-down you want to allow to use JS. At that stage, it refreshes the page (and the list, since some of the domains you've allowed access to may now be loading scripts pointing to more domains).
While NoScript goes beyond this and does things like intercepting individual scripts on specific pages, etc, simply being able to whitelist/blacklist multiple domains at once (especially since a lot of ad servers don't have 'pages' that you can actually visit) from within a site you're using is great basic functionality. Since the target audience is power users, being able to make the call on which domains to allow which the page is loading, allows us to tailor the functionality of the site, since most core functionality will come from just a few of the domains. For non experienced users, then a JS on-off script is going to be fine.
Good luck, and thanks for your hard work!
開發者回應
張貼於 8 年前When you say JS is enabled for each domain a page loads, Can you clear what you really mean?? Does not that mean what that video showed??
Please do me one favor, when you load a webpage, please go to web console in firefox and paste this
var resources = window.performance.getEntriesByType("resource");
resources.forEach(function (resource) {
console.log(resource.name);
});
and tell me is the output that comes, you mean that by external domains it loads, kindly confirm
Please do me one favor, when you load a webpage, please go to web console in firefox and paste this
var resources = window.performance.getEntriesByType("resource");
resources.forEach(function (resource) {
console.log(resource.name);
});
and tell me is the output that comes, you mean that by external domains it loads, kindly confirm
51 筆評論
- 評價 5 分,滿分 5 分來自 AnarchyWolf,4 個月前
- 評價 5 分,滿分 5 分來自 Firefox 使用者 12062249,1 年前
- A bit dissapointed, as the author stated he picked up "Javascript Control by Erwan Ameil" to change it's default behaviour (disabled). But he ended up leaving it disabled by default. So what's the point? I installed this expecting he would keep his word on his comment:
"by meetDeveloper, 6 years ago
I really liked this add-on apart from its default policy, so I forked the Code and edited to change the default policy, and made a new extension https://04.yfhome.xyz/en-US/firefox/addon/quick-js-switcher/ , feel free to install that. " - 評價 5 分,滿分 5 分來自 Firefox 使用者 13895792,2 年前Just great, much better than the one written by Erwan Ameil. 99.9% of sites I visit, use Java, it is a real pain having to turn it on all the time, a default to one is awesome. Keep up the good work.
- 評價 5 分,滿分 5 分來自 Firefox 使用者 6819742,3 年前
- 評價 5 分,滿分 5 分來自 goodenoughcui,4 年前It is a very convenient addon that you can set the default status of script being "on" or "off".
- 評價 5 分,滿分 5 分來自 Firefox 使用者 15779012,4 年前
- 評價 3 分,滿分 5 分來自 Firefox 使用者 13707525,5 年前
- 評價 1 分,滿分 5 分來自 Firefox 使用者 16182332,5 年前
- 評價 3 分,滿分 5 分來自 ZIN-I-U (UA),5 年前
- 評價 1 分,滿分 5 分來自 Beauford Anton Stenberg,5 年前
- 評價 5 分,滿分 5 分來自 texasmustang,6 年前
- 評價 5 分,滿分 5 分來自 Goeroeboeroe,6 年前Excellent extension.
Contrary to a lot of other extensions that disable JavaScript, this extension looks for <noscript>-tags and adds them to the DOM.
Without this looking for <noscript> you have no JavaScript AND no <noscript>-code. Now you have the best of two worlds.
Especially when you're building sites and you have to check if <noscript> works this is an excellent add-on.
Going every time to about:config or the settings in the developer tools is getting really annoying, simply clicking on an icon works far better.開發者回應
張貼於 5 年前Thanks a lot :) I appreciate your feedback, I commented late as I again encountered this review and it touched my heart. - 評價 5 分,滿分 5 分來自 Firefox 使用者 15285435,6 年前
- 評價 1 分,滿分 5 分來自 Firefox 使用者 15201370,6 年前