Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> 電腦軟體教學 >> 網路工具

Firefox 設定檔完全指南:profiles 目錄、user.js、userChrome.css、userContent.css 四大核心檔案

編輯:網路工具

Firefox 所有個人設定儲存在「設定檔資料夾」,掌握其位置與四大核心設定檔,即可深度客製化瀏覽器行為、介面與網頁外觀。

一、設定檔資料夾位置

作業系統路徑
Win 95/98/MeC:\WINDOWS\Application Data\Phoenix\Profiles\default\xxxxxxxx.slt\
Win 2000/XP%AppData%\Phoenix\Profiles\default\xxxxxxxx.slt\ (資源管理器網址列輸入 %AppData% 直達)
Linux~/.phoenix/default/xxxxxxxx.slt/
Mac OS X~/Library/Phoenix/Profiles/default/xxxxxxxx.slt/

Firefox 支援多設定檔,可用設定檔管理器管理;上述為預設設定檔路徑。

二、四大核心設定檔

1. user.js — 修改各類選項

  • 位於設定檔資料夾,預設不存在,需自建 (記事本存為 user.js,Win 需顯示副檔名)。
  • 建立後,網址列輸入 about:config 即可編輯其中參數,修改值即時存入 prefs.js。

2. userChrome.css — 修改瀏覽器介面外觀

  • 位於設定檔資料夾 chrome 子資料夾。
  • 預設有範例檔 userChrome-example.css,重新命名移除 -example 即可使用。

3. userContent.css — 修改網頁內容外觀

  • 同樣在 chrome 子資料夾。
  • 範例檔 userContent-example.css,改名移除 -example 即可。

4. 進階設定介面

網址列輸入 about:config 可視覺化編輯所有隱藏參數 (大多來自 Mozilla),修改即時生效並寫入 prefs.js。建議參考 中文說明文件 後再改。

掌握設定檔架構,Firefox 客製化無極限。

Copyright © Windows教程網 All Rights Reserved