While I’m not using the sidebar in Firefox at all I know some users who really love it. The sidebar however has some limitations and the following tweaks are supposed to get rid of two limitations. The first tweak is going to remove the width limitation of the sidebar while the other one moves the sidebar from the left to the right side making it easier to read the websites that you are on.
Both tweaks need to be applied to the file userChrome.css which is located in the Firefox profile folder. Just search for userChrome.css and you should find it right away. Double-click that file and add one or both of the following two tweaks to the end of the file.
To move the sidebar from the left to the right you do add this line:
#browser {-moz-box-direction: reverse;}
To increase the width of the sidebar you would add this one:
#sidebar {max-width: none !important; }
A restart of Firefox applies the new settings.
Read Related Posts
14 Responses to “Two Firefox Sidebar Tweaks”
Trackbacks/Pingbacks
-
[...] 原文链接。 I hope you enjoyed reading this post. You may now subscribe to my RSS Feed, scroll down to 留下评论 or get back to the homepage. I recommend Giganews, the ultimate P2P alternative: Read here why [...]

Check if you Firefox speed tweaks are still active
Move Firefox Tabs To The Sidebar
Firefox Web Browser Customization With AnyColor
I’m not a huge fan of the sidebar either, but I like these kinda tweaks – keep ‘em coming!
install sage, allinone sidebar, and mr tech’s local install, and you’ll be a sidebar convert. i almost guarantee it.
I’ve tried All-in-One Sidebar – wasn’t too impressed.
As for Sage, I’ve switched to Bloglines ages ago because I need to access my feeds from several PCs.
bloglines is very good. it was the first i used, then i switched to netvibes. both are excellent for someone with your needs, ace. tried google reader and found it awful.
sage is simple, flawless, unobtrusive, instantly accessible, intuitive, easily configurable and i highly recommend it for anyone whose computing circumstances permit.
@archer: Agreed, on all counts. (Though I have yet to try NetVibes.)
Please, fix
#browser { -moz-box-direction: reverse;}
you are right, fixed it. Thanks rubzn
martin, your site just keeps getting better. special props to the new look. clean, elegant, classy.
Hi. When I open bookmark toolbar to delete a website, the toolbar closes so i have to reopen it each time to delete 1 website instead of it staying open and say I want to delete 10 websites before i decide i’m done using the sidebar thingy. Does anyone know a tweak to keep the boomark toolbar open to be able to delete multiple websites without having to have to reopen it for each site? Thanks so much.
@Ashley: You could the Bookmarks Manager, either as a new window via Bookmarks > Organize Bookmarks, or in the sidebar via CTRL+B.
Wow Ace_NoOne, thanks so much =) xoxoxox
Target=”_search” in a link in Firefox’s main window will load any content into the Firefox sidebar.
In the upper-right corner of the Firefox sidebar is an X to close it. Is there a JavaSript that will close it in a link?
for example
javascript:closesidebar()
Monty,
Does your Target= trick also work in reverse? For instance, I am trying to have the results of a search open in the main window. AKA I never want the sidebar to change, only use it as a launcher of sorts…
In any case, check out: http://developer.mozilla.org/en/docs/Code_snippets:Sidebar
Per their site you should be able to open/close/toggle it via:
/**
* Opens or closes the sidebar identified by commandID.
*
* @param commandID a string identifying the sidebar to toggle; see the
* note below. (Optional if a sidebar is already open.)
* @param forceOpen boolean indicating whether the sidebar should be
* opened regardless of it’s current state (optional).
* @note
* We expect to find a xul:broadcaster element with the specified ID.
* The following attributes on that element may be used and/or modified:
* – id (required) the string to match commandID. The convention
* is to use this naming scheme: ‘viewSidebar’.
* – sidebarurl (required) specifies the URL to load in this sidebar.
* – sidebartitle or label (in that order) specify the title to
* display on the sidebar.
* – checked indicates whether the sidebar is currently displayed.
* Note that toggleSidebar updates this attribute when
* it changes the sidebar’s visibility.
* – group this attribute must be set to “sidebar”.
*/
function toggleSidebar(commandID, forceOpen) {