SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
1.
DebianでFirefoxを
カスタマイズするには
DebianでFirefoxを
カスタマイズするには
How to customize Firefox on Debian
Kentaro Hayashi
ClearCode Inc.
Mini Debian Conference Japan 2016
2016-12-10
27.
user.jsを修正する
Modify user.js
伝統的なカスタマイズ方法
Traditional way to customize
~/.mozilla/firefox/(プロファイル)/user.jsに置く
Put user.js as ~/mozilla/firefox/(profile)/user.js
28.
user.jsの例
Example how to customize user.js
user_pref("browser.tabs.closeWindowWithLastTab", false);
最後のタブを閉じたときにウィンドウを閉じない
Do not close window even though last tab is closed
29.
user.jsは万能ではない
user.js is suitable for specific purpose
プロファイルごとに設定
Need to configure each profile
プロファイルで管理されていない項目は不可
It should be managed by profile
集中管理するのには不向き
Not suitable for centralized management
FirefoxSyncでよいのでは?
FirefoxSync may be better solution?
66.
どうやって?
How?
カスタマイズ用のアドオンを活用
Use specific addons to customize
67.
カスタマイズのアドオン
Addon to customize
GlobalChrome.css
UI Text Overrider
Force Addon Status
68.
カスタマイズのアドオン
Addon to customize
GlobalChrome.css
UI Text Overrider
Force Addon Status
69.
GlobalChrome.css
ユーザースタイルシート機能
Provides user stylesheet
globalChrome.cssを所定の場所に配置
Put globalChrome.css in specific path
https://addons.mozilla.org/ja/firefox/addon/
globalchromecss/
70.
カスタマイズのアドオン
Addon to customize
GlobalChrome.css
UI Text Overrider
Force Addon Status
71.
UI Text Overrider
UI要素のラベルやツールチップテキストなどを変
更
Enable to customize UI labels, tooltips and so on
https://addons.mozilla.org/ja/firefox/addon/
ui-text-overrider/
72.
カスタマイズのアドオン
Addon to customize
GlobalChrome.css
UI Text Overrider
Force Addon Status
73.
Force Addon Status
アドオンの有効・無効の状態を強制的に変える機
能
https://addons.mozilla.org/ja/firefox/addon/force-
addon-status/
80.
Force Addon Status
lockPref("extensions.force-addon-status@clear-code.com.plugins.0.pattern", "^Java((TM)| )");
lockPref("extensions.force-addon-status@clear-code.com.plugins.0.enabledState", 0);"