Firefox: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
Manpaz (talk | contribs)
No edit summary
Manpaz (talk | contribs)
No edit summary
Line 3: Line 3:
==== Allow Pop-ups ====
==== Allow Pop-ups ====
Edit `/usr/lib/${FIREFOX_VERSION}/greprefs/all.js` file and ensure the following values
Edit `/usr/lib/${FIREFOX_VERSION}/greprefs/all.js` file and ensure the following values
{{
<pre><nowiki>
pref("privacy.popups.disable_from_plugins",0);
pref("privacy.popups.disable_from_plugins",0);
pref("privacy.popups.showPopupBlocker",false);
pref("privacy.popups.showPopupBlocker",false);
</nowiki></pre>
}}

Add the following values if there are not present
Add the following values if there are not present
{{
<pre><nowiki>
pref("capability.principal.codebase.p0.granted", "[[UniversalBrowserWrite]]");
pref("capability.principal.codebase.p0.granted", "UniversalBrowserWrite");
pref("capability.principal.codebase.p0.id", "file://");
pref("capability.principal.codebase.p0.id", "file://");
pref("capability.principal.codebase.p0.subjectName", "");
pref("capability.principal.codebase.p0.subjectName", "");
Line 15: Line 18:
pref("privacy.popups.policy",1);
pref("privacy.popups.policy",1);
pref("privacy.popups.showBrowserMessage",false);
pref("privacy.popups.showBrowserMessage",false);
</nowiki></pre>
}}

And then ensure the following values on `/usr/lib/${FIREFOX_VERSION}/defaults/pref/firefox.js`
And then ensure the following values on `/usr/lib/${FIREFOX_VERSION}/defaults/pref/firefox.js`
{{
<pre><nowiki>
pref("privacy.popups.firstTime",false);
pref("privacy.popups.firstTime",false);
pref("privacy.popups.showBrowserMessage",false);
pref("privacy.popups.showBrowserMessage",false);
</nowiki></pre>
}}



==== Disable status bar ====
==== Disable status bar ====
Ensure the following values are present in `/usr/lib/${FIREFOX_VERSION}/greprefs/all.js` file
Ensure the following values are present in `/usr/lib/${FIREFOX_VERSION}/greprefs/all.js` file
{{
<pre><nowiki>
pref("dom.disable_window_open_feature.status",false);
pref("dom.disable_window_open_feature.status",false);
pref("dom.disable_window_status_change",true);
pref("dom.disable_window_status_change",true);
</nowiki></pre>
}}

Revision as of 02:09, 10 December 2009

Preference

Allow Pop-ups

Edit `/usr/lib/${FIREFOX_VERSION}/greprefs/all.js` file and ensure the following values

 pref("privacy.popups.disable_from_plugins",0);
 pref("privacy.popups.showPopupBlocker",false);
 

Add the following values if there are not present

 pref("capability.principal.codebase.p0.granted", "UniversalBrowserWrite");
 pref("capability.principal.codebase.p0.id", "file://");
 pref("capability.principal.codebase.p0.subjectName", ""); 
 pref("privacy.popups.firstTime",false);
 pref("privacy.popups.policy",1);
 pref("privacy.popups.showBrowserMessage",false);
 

And then ensure the following values on `/usr/lib/${FIREFOX_VERSION}/defaults/pref/firefox.js`

 pref("privacy.popups.firstTime",false);
 pref("privacy.popups.showBrowserMessage",false);
 


Disable status bar

Ensure the following values are present in `/usr/lib/${FIREFOX_VERSION}/greprefs/all.js` file

 pref("dom.disable_window_open_feature.status",false);
 pref("dom.disable_window_status_change",true);