Configurable Security Policies in Firefox 51.0 and later

User Help for Mozilla Firefox
Post Reply
qq x zz
Posts: 1
Joined: February 23rd, 2017, 9:02 am

Configurable Security Policies in Firefox 51.0 and later

Post by qq x zz »

I am added the following line to user preferences file (user.js):

Code: Select all

user_pref("capability.policy.default.Window.open", "noAccess");
but a web site can use this feature. It even works in Firefox?
User avatar
therube
Posts: 21703
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Re: Configurable Security Policies in Firefox 51.0 and later

Post by therube »

Wasn't CAPS removed?
And replaced by...?
And if so, would those types of Prefs then be no longer applicable?
Or is it that the Prefs should still work ? only they're not using ... eh, I should stop.


(Anyhow, somewhat related & might be of interest, Bug 866522 - Bookmarklets affected by CSP.)
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
User avatar
dickvl
Posts: 54145
Joined: July 18th, 2005, 3:25 am

Re: Configurable Security Policies in Firefox 51.0 and later

Post by dickvl »

Support for CAPS prefs has been removed a long time ago if it has ever worked properly before, so you can't use it.
https://developer.mozilla.org/en-US/doc ... gin_policy
Bug 750859 - Gut unused CAPS code
Post Reply