Firefox Desktop OSs

HOWTO: See Tabs From Other Devices On Firefox Sync
History > Tabs From Other Devices

http://about:sync-tabs

HOWTO: Fix Lock Files
echo echo "Fixing Firefox and Thunderbird..." echo killall --verbose firefox killall --verbose thunderbird find ~/.mozilla/firefox/ -name 'lock' -exec rm -rfv {} \; find ~/.mozilla/firefox/ -name '.parentlock' -exec rm -rfv {} \; find ~/.thunderbird/ -name 'lock' -exec rm -rfv {} \; find ~/.thunderbird/ -name '.parentlock' -exec rm -rfv {} \; echo echo "...all done. Please restart your computer." echo
 * 1) !/bin/bash

HOWTO: Close Firefox Remotely In Terminal
Log in to your PC via SSH, then...

sudo apt-get install wmctrl DISPLAY=:0.0 wmctrl -c "Firefox"

HOWTO: Mobile Sites Opening On Desktop Browser - Fix

 * Open 'about:config'
 * Config name: general.useragent.override
 * Right click on the entry and select 'Reset'.

Viewing PDF Files / Disable Native / Use Plug-In
From version 19 of Firefox the in-built PDF reader is activated by default.

http://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them

To alter the behaviour see here.

HOWTO: Start In Safe Mode
Hold the SHIFT key down when clicking on start icon.

about Pages
 about  - Displays the Firefox version information.

 about:blank  - Displays, oddly enough, a blank page.

 about:blocked  - Displays the "web forgery/attack" warning page.

 about:buildconfig  - Displays build information and a link to more in-depth information, including links for further investigation of the build.

 about:cache  - Displays your Memory, Disk, and Offline caches with links for more information concerning any one of them.

 about:config  - Displays the page allowing configuration of most Firefox options.

 about:crashes  - Displays a list of your reported browser crash reports with links to the actual reports.

 about:credits  Displays a list of all people who deserve credits for their work on Firefox and a link to submit your information for inclusion in the list, pending verification of proof.

 about:license  - Displays the Mozilla Firefox "EULA" or "End Users License Agreement".

 about:logo  - Displays the Mozilla Firefox logo.

 about:mozilla  - This easteregg displays a fun little quote from "The Book of Mozilla".

 about:neterror  - Displays the "Problem Loading Page" error page.

 about:rights  - Displays a list of your user rights with links to appropriate documents.

 about:plugins  Displays information concerning any installed Firefox plugins.

 about:robots  - This hidden treasure displays the robot page of course, don't forget to click the button.

Fix inconsistency ld.so crash caused by Google Talk Plugin
If you experience bad crashing with Mozilla Firefox 4, it could be a dodgy Google Talk plugin. Start Firefox from a terminal session command line and go to Google Maps. Or, to make it crash, just go to Tools > Add-ons. The browser will crash and show this error in the terminal...

Inconsistency detected by ld.so: dl-open.c: 583: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

To fix it, rename the /opt/google/ directory to something else, reboot and try browsing again.

mv /opt/google /opt/google.old

Now try looking in the about:plugins page in Firefox.

Autoscrolling (or Middle Button Scrolling) - Enable: How To
Under Options/Preferences --> Advanced --> General tab --> Browsing section tick the checkbox 'Use autoscrolling'.

Bookmark Toolbar Icons: Disable (All Versions)
Locate the chrome directory:  Linux - /home/ /.mozilla/firefox/xxxxxxxx.default/chrome Windows - C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\[User Name]\chrome\ 

Create the file userChrome.css

Paste in the CSS following code: /* Hide bookmark icons in the Personal Toolbar */toolbarbutton.bookmark-item > .toolbarbutton-icon {display: none; }

Save and Restart Firefox

Cache Folder - Change Its Path: How To (Windows Only)
In the location bar, type about:config and hit enter

Right-click in the white-space, and choose New->String, then copy and past in

browser.cache.disk.parent_directory

Click ok.

In the next box, enter the full patch to the directory you want to store your cache in, i.e. C:\Firefox Temp\

Close Firefox.

Delete your old cache directories in C:Documents and Settings\%username%\Application Data\Mozilla\Firefox\Profiles\something.username

Restart Firefox. It will create the directory specified above, if it doesn't already exist.

This same technique can be used to move your cache to a larger or faster disk.

Dictionary Word List: Editing (All Versions)
This can be useful if you have inadvertently entered an mis-spelt word in to the dictionary or if you want to add custom entries, i.e. scientific words, place names. The location of the dictionary can be found in the following locations depending on your operating system:  Linux - /home/[User Name]/.mozilla/firefox/xxxxxxxx.default/extensions/en-GB@dictionaries.addons.mozilla.org/dictionaries OS X - ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/ Windows XP - C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\extensions\en-GB@dictionaries.addons.mozilla.org\dictionaries Windows Vista - C:\users\[User Name\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\  Using a text editor open the following file:

persdict.dat

Error Message On Start Up: "Well, this is embarassing...." not with my newest window & tab settings.
Answer: Completely disable session store

Firefox 3 and below: To completely disable all session saving behavior, including the recording of session information, set browser.sessionstore.enabled to false in about:config.

Firefox 3.5 and above: Starting in Firefox 3.5 the preference browser.sessionstore.enabled is no longer used. [5] Instead, you can set the preferences browser.sessionstore.max_tabs_undo and browser.sessionstore.max_windows_undo to 0.

Extension List
about:support

Maintenance Service (Windows) - Prevent Installation: How To
Windows Command Prompt: REG ADD HKLM\SOFTWARE\Mozilla\MaintenanceService /v Attempted /t REG_DWORD /d 1 /f

Plugins List
about:plugins

Shortcut Keys Firefox 4
Ctrl+L = Location bar (replaces F6)

Shortcut Keys All
Ctrl+K = Search box

Keyboard Shortcuts Not Working
If the 'Home' and 'End' keys are not working press 'F7' and they should be activated.

New Tab Button: Remove (v3.5 >)
Locate the userChrome.css file in your Firefox user profile, this can be found in the following locations depending on your operating system:  Linux - /home//.mozilla/firefox/xxxxxxxx.default/chrome OS X - ~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/chrome/ Windows XP - C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome <li>Windows Vista - C:\users\[User Name\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\ </ul>

 Note:  If the userChrome.css file does not exist you may need to create it, there is usually a sample file included in the installation which you can copy.

At the end of the file add the following: .tabs-newtab-button {display: none} Save and close the file

Start Firefox

Permissions Manager - (v6 >)
Type in to the address bar:

about:permissions

The permissions manager allows you to tweak setting relating to different website.

Tabs - Bookmark All: How To (v.4 >)
Right click on any of the tabs you want to bookmark as a group and select:

Bookmark All Tabs...

Tabs - Close Button Enabled On Last Tab: How To (v3.5 >)
When there is only have one tab left open it does not have a close button, because if you chose to close it Firefox itself would shut (unless you have implemented the 'Prevent Firefox From Closing When Shutting The Last Tab' 'about:config' tweak). It is still possible to close it pressing Ctrl + W, or selecting Close Tab in the File menu. While it is possible to tweak the coding of Firefox to archive this an easier method is to install an extension that provides the functionality.

Last Tab Close Button

Fix Start Problem / Backup Important Files

 * places.sqlite
 * key3.db
 * signons3.txt
 * cookies.sqlite
 * pref.js

Browse to your profile folder and copy the following files to a new backup folder...

cp -av places.sqlite key3.db signons.sqlite permissions.sqlite search.sqlite persdict.dat formhistory.sqlite cookies.sqlite cert8.db mimeTypes.rdf ../backup/