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.)

--
Warning: May contain traces of nuts.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to