Difference between revisions of "Mozilla Firefox"

From WhyAskWhy.org Wiki
Jump to: navigation, search
(Added instructions for disabling extension compatibility check.)
 
m (Added directions for having Mozilla Firefox maximize its window on launch.)
Line 2: Line 2:
 
[[Category:Browser]]
 
[[Category:Browser]]
 
[[Category:NeedsCleanup]]
 
[[Category:NeedsCleanup]]
 +
 +
== Maximize on startup ==
 +
 +
You’d think something like this would be incredibly easy, maybe even be in an options tab or possibly <code>prefs.js</code> in the user's profile.
 +
 +
Not quote. The setting is in <code>localstore.rdf</code> within the user's profile. This value is supposed to be saved automatically when closing out of the browser, as this page mentions.
 +
 +
In my case I want a lab of users to all receive the same ''maximize window'' setting. Thankfully, the user profile being used is thin and I don't have to worry about them having a personalized <code>localstore.rdf</code> file.
 +
 +
<syntaxhighlight lang="xml">
 +
<?xml version="1.0"?>
 +
<!--
 +
    $Id$
 +
    $HeadURL$
 +
   
 +
    Purpose: Set the Firefox window to maximized. This file would be copied
 +
            over on every login, thereby preventing the window from coming up
 +
            sized smaller. Users are able to size it themselves during their
 +
            browsing session however.
 +
-->
 +
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
 +
        xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
 +
  <RDF:Description RDF:about="chrome://browser/content/browser.xul#sidebar-title"
 +
                  value="" />
 +
  <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
 +
                  sizemode="maximized" />
 +
  <RDF:Description RDF:about="chrome://browser/content/browser.xul">
 +
    <NC:persist RDF:resource="chrome://browser/content/browser.xul#main-window"/>
 +
    <NC:persist RDF:resource="chrome://browser/content/browser.xul#sidebar-box"/>
 +
    <NC:persist RDF:resource="chrome://browser/content/browser.xul#sidebar-title"/>
 +
  </RDF:Description>
 +
</RDF:RDF>
 +
</syntaxhighlight>
 +
 +
Here is the relevant value:
 +
 +
<syntaxhighlight lang="xml">
 +
sizemode="maximized"
 +
</syntaxhighlight>
 +
 +
  
 
== Enable old extensions that fail Compatibility Check ==
 
== Enable old extensions that fail Compatibility Check ==

Revision as of 11:08, 1 August 2012


Maximize on startup

You’d think something like this would be incredibly easy, maybe even be in an options tab or possibly prefs.js in the user's profile.

Not quote. The setting is in localstore.rdf within the user's profile. This value is supposed to be saved automatically when closing out of the browser, as this page mentions.

In my case I want a lab of users to all receive the same maximize window setting. Thankfully, the user profile being used is thin and I don't have to worry about them having a personalized localstore.rdf file.

<?xml version="1.0"?>
<!-- 
    $Id$
    $HeadURL$
     
    Purpose: Set the Firefox window to maximized. This file would be copied
             over on every login, thereby preventing the window from coming up
             sized smaller. Users are able to size it themselves during their
             browsing session however.
-->
<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description RDF:about="chrome://browser/content/browser.xul#sidebar-title"
                   value="" />
  <RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
                   sizemode="maximized" />
  <RDF:Description RDF:about="chrome://browser/content/browser.xul">
    <NC:persist RDF:resource="chrome://browser/content/browser.xul#main-window"/>
    <NC:persist RDF:resource="chrome://browser/content/browser.xul#sidebar-box"/>
    <NC:persist RDF:resource="chrome://browser/content/browser.xul#sidebar-title"/>
  </RDF:Description>
</RDF:RDF>

Here is the relevant value:

sizemode="maximized"


Enable old extensions that fail Compatibility Check

Unfortunately this has to be done each time a major version of Mozilla Firefox is released and it is a per-user setting. We'll assume you're running Mozilla Firefox 14 for the purposes of these directions.

  1. Open Mozilla Firefox
  2. Type about:config in the address bar.
  3. Right-click and select New
  4. Choose Boolean
  5. For the name type extensions.checkCompatibility.14.0 and set the value to false
  6. Close Mozilla Firefox and reopen.

I use this method to enable Aardvark in recent Mozilla Firefox releases. I may eventually get around to trying HackTheWeb that is supposed to be its successor.