阅读:4395回复:10
求可以禁止特定网站的Script的插件(包括网页内部的)
最近用noscript插件将网页的script都给禁止了,目的倒不是为了安全,(我用的卡巴斯基有检测恶意脚本的功能,虽然肯定不能都禁止,对我也足够了),而是用它来屏蔽广告,比如新浪的。
所以希望找一个插件,作用和noscript正好相反,就是将添加到名单里的网站的script脚本过滤掉,包括在网页内部的。而对别的网站默认是允许的。这样adblock就不能胜任了,不用rip主要是因为它下载后再过滤,再说也懒得老去写规则。 各位,有没有值得推荐一下的? |
|
1楼#
发布于:2005-09-10 11:25
As I said before, I like this concept of a black-list (a list of permanently "don't even bother to ask" forbidden sites) to complement but not to replace the main white-list (the white-list concept being the main NoScript security strength).
NoScript site matching code has recently been refactored and optimized primarily to allow a smoother implementation of this functionality, as well as finer-grained policies (e.g. separate permissions for JavaScript, Java and Flash). Developing this stuff requires time, though, and at this moment I'm overwhelmed by my "real" job, hence I can't make promises. But be patient, and these features will come (maybe as a Christmas present) Smile 看来有点希望 |
|
2楼#
发布于:2005-09-10 11:25
同意楼上意见
|
|
3楼#
发布于:2005-09-10 11:25
tab browser extension 可以,另外作者亦有个专门的 policy manager (sic) extension。
另外亦可以在 user.js 手工设置个别网站禁止 js。 |
|
|
4楼#
发布于:2005-09-10 11:25
|
|
5楼#
发布于:2005-09-10 11:25
|
|
6楼#
发布于:2005-09-10 11:25
在 user.js 加入:
user_pref("capability.policy.policynames", "nojs"); user_pref("capability.policy.nojs.sites", "site1 site2 ... siteN"); user_pref("capability.policy.nojs.javascript.enabled", "noAccess"); site1...siteN 用空格分开。 |
|
|
7楼#
发布于:2005-09-10 11:25
谢谢abc,成功了,不用插件了,嘿嘿
还要谢谢你告诉我的user.js这个东西,在网上搜了下,发现很多东西都可以在firefox的配置文件里改的,的确功能很强大,需要加强学习。 还想问一句,那几条规则怎么找到的?下次再遇到这种问题就不用麻烦大家了。 ![]() |
|
8楼#
发布于:2005-09-10 11:25
|
|
9楼#
发布于:2005-09-10 11:25
mozillazine 的 kb 资料十分齐存: http://kb.mozillazine.org/
另外这里有个中文 kb,但没看过。 其实有不少扩展如果不是经常设置的话是可以不安装的,在 user.js,userChrome.css,及 .jar 直接修改也可以取得相同效果。 |
|
|
10楼#
发布于:2005-09-10 11:25
abc@home:mozillazine 的 kb 资料十分齐存: http://kb.mozillazine.org/ http://kb.mozillazine.org/是个好地方,收了,嘿嘿 |
|