Re: Knowledge Base

Merged to the KB thread.
Mozilla Support and Discussion
http://forums-test.mozillazine.org/
http://forums-test.mozillazine.org/viewtopic.php?f=11&t=3049345
rsx11m wrote:^ guess you meant to post this in the moderation thread. Always watch which sticky is on top before posting.
fswl1234 wrote:http://kb.mozillazine.org/Security_Policies
this doesn't work any more, since 31?
also, regarding the /New CSP (Content Security Policy) backend/, any docs?
for example, i used to suppress print dialog with
user_pref("capability.policy.default.Window.print", "noAccess");
how do i get it done now?
thanks
Object.defineProperty(window, "print", {set:function(){}});
Object.defineProperty(window, "print", {set:function(){}});Object.defineProperty(window, "screen", {set:function(){}});
let domains={"thedom.ain":true, "otherdom.ain":true};if (domains[window.location.hostname]){Object.defineProperty(window, "print", {set:function(){}});}
@^https?://