于 2014/4/15 星期二 6:46, Neil 写道:
xunxun wrote:

For example, I use the policy by default on my custom build:

pref("capability.policy.policynames", "pcxnojs");
pref("capability.policy.pcxnojs.sites", "http://nsclick.baidu.com";);
pref("capability.policy.pcxnojs.javascript.enabled", "noAccess");

nsclick.baidu.com can cause firefox tab closing costs too much time, so I use the policy to avoid it.

Can you not use the content blocker to block scripts from nsclick.baidu.com? (I don't know what UI Firefox has for it, I normally use the Data Manager. I've successfully blocked Facebook and Twitter for example.)
I don't know what is the Data Manager, is it this : https://addons.mozilla.org/en-US/firefox/addon/data-manager/ ?

But I don't want to solve the problem using an extension, because I only want to block nsclick.baidu.com --- only one domain.


--
Best Regards,
xunxun
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to