Sunday, February 24, 2008

Firefox - 允許個人書籤列多行顯示


>> from Spread Firefox

不知道有沒有人和我一樣喜歡把常用的書籤丟到工具列上,但是書籤數量過多時,卻又不喜歡按展開鍵尋找。以下就來分享一下讓Firefox的個人書籤列多行顯示的方法。
  • 以Windows XP為例,請先找尋到以下目錄:
    C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome
  1. [User Name]為自訂的使用者名稱
  2. 需先設定為「顯示所有檔案和資料夾」才能看到"Application Data"資料夾
  3. "xxxxxxxx"是一組8字元長度的任意字串
  • 新增一個"userChrome.css"檔案,以記事本開啟後貼入以下程式碼:
/*
* Do not remove the @namespace line -- it's required for correct functioning
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
/* Multi-row bookmarks toolbar
當書籤工具列內的書籤過多時,以多行顯示*/
#bookmarks-ptf {display:block !important; }
#bookmarks-ptf toolbarseparator {display:inline !important; }
#bookmarks-ptf .bookmark-item { visibility: visible !important;}
#overflow-padder { width: auto !important; }
#bookmarks-chevron { display: none !important; }
  • 大功告成!
主要參考來源為Mozilla Taiwan
  1. 設定檔詳解
  2. Firefox 一分鐘教室-userChrome.css

No comments:

Post a Comment

歡迎暢所欲言。

##EasyReadMore##