Tips, Tricks, & Tweaks
Mozilla Firefox
Contents |
About
|
|
|
|
|
|
As usual, nothing out of the box is good
enough. Change is good especially if
and when it improves things. These are
basically my notes gathered from Googling around for customizations wanted
and used regularly. Some of the below
may be done via the registry, if comfortable, go for it, if not, do not! Either way, I’ll try to help! Use at your own risk! Happy Tweaking! Windows 7 Home Premium 64 Bit SP1, Mozilla
Firefox, on an Acer Aspire 5150 Laptop AMD Phenom(tm) II N660 Dual-Core Processor
(self-upgraded from single-core V120) 3.00 GHz, 8GB RAM, 250GB HDD |
I customize the toolbar by dragging &
dropping things so as to use the minimal amount of vertical screenestate.
Add-ons: If there’s any version issues, ask me for the modified installer (version numbers below were current only at time of publishing).
1. Adblock Plus (v2.0.3) — Ads were yesterday!
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
UserChrome.css
This file sets the display rules for various
elements in Firefox which allows you to customize the way Firefox looks. It’s located in the sub-folder called
‘chrome’ in your profile folder (your Profile Folder is here: press the Alt key
to show the menu bar items, then go to Help + Troubleshooting Information +
Open Containing Folder). There’s an
example file that exists there by default, it’s called userChrome-example.css. Basically, just exit Firefox, rename that
file to userChrome.css, open it with Notepad, delete everything in it and paste
the entries below into it (it begins with /* and ends with }). Save the changes, close the file and open
Firefox to see the changes. To revert
back, simply rename it to its original name. Oh, don’t forget to first install all the
Add-ons above.
/*Selvan’s UserChrome.css entries*/
/* hide back or forward buttons when grayed
*/
#back-button[disabled="true"],
#forward-button[disabled="true"] {
display:none;
}
/* hide rss feed button when grayed */
#feed-button[disabled="true"] {
display:none;
}
/* hide close button on the add-on bar */
#addonbar-closebutton {
visibility: collapse !important;
}
/* hide boomark star icon in the address bar
*/
#star-button {
display: none !important;
}
/* hide bookmarks menu items */
#BMB_bookmarkThisPage,
#appmenu_bookmarkThisPage,
#appmenu_showAllBookmarks,
#appmenu_showAllBookmarks+menuseparator,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup,
#BMB_subscribeToPageMenupopup+menuseparator,
#appmenu_subscribeToPage,
#appmenu_subscribeToPageMenu,
#appmenu_subscribeToPageMenupopup,
#appmenu_subscribeToPageMenupopup+menuseparator,
#BMB_bookmarksPopup
menuseparator:nth-last-child(2),
#appmenu_bookmarksPopup
menuseparator[builder="end"],
#organizeBookmarksSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksToolbarFolderMenu+menuseparator,
#BMB_bookmarksToolbar,
#BMB_bookmarksToolbar+menuseparator,
#BMB_viewBookmarksToolbar,
#BMB_viewBookmarksToolbar+menuseparator,
#BMB_bookmarksShowAll,
#BMB_bookmarksShowAll+menuseparator,
#BMB_unsortedBookmarks,
#appmenu_unsortedBookmarks {
display: none !important;
}
/*End of UserChrome.css entries*/
Profile Manager
Create a
shortcut to firefox.exe, in the target line of the properties, add –p like so:
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" –p
Mailto Links
enable it and the use of multiple Gmail
accounts in the same browser session
1. enable multiple sign-in for all
your gmail accounts
2. open a new tab and go to this URL:
about:config
3. search for and set
gecko.handlerService.allowRegisterFromDifferentHost to true
4. go to tools + web developer + scratchpad
5. go to environment + content
6. replace all text in the window with the
code below (be sure to use your e-mail address and your differentiating name to
appear in the Launch Application window)
7. go to execute + run
8. click Add Application to accept it in the
pop-up
9. go back to about:config and set
gecko.handlerService.allowRegisterFromDifferentHost back to false
10. go to Tools + Options + Applications and
set mailto to Always ask. If you don’t
see it, close Firefox and delete mimeTypes.rdf in your profile folder
11. test your efforts with these mailto links, mine opens the Launch Application
window where my wife can select hers or I mine
Code
for the first account:
navigator.registerProtocolHandler("mailto",
"https://mail.google.com/mail/b/first@gmail.com/?extsrc=mailto&url=%s",
"differentiating-name");
Code
for the second account (same but with a different e-mail address and name:
navigator.registerProtocolHandler("mailto",
"https://mail.google.com/mail/b/second@gmail.com/?extsrc=mailto&url=%s",
"differentiating-name");
Selvan Poothamby, February 5, 2012 JavaScript Menu Courtesy of Milonic.com