- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2018-06-01T15:35:10+00:00","default:tumeda","tumeda")
#author("2019-06-06T16:32:30+00:00","default:tumeda","tumeda")
#contents
* Firefox Quantum以降のノウハウ [#q4fa033c]
** 多段タブ [#r3acf183]
+ [ヘルプ]-[トラブルシューティング情報]-[プロファイルフォルダー]からフォルダを開く
+ Chromeフォルダを作成し、そこで下記内容のuserChrome.cssファイルを作成
>#titlebar-buttonbox {
>display: block !important;
>vertical-align: top !important;
>}
>.tabbrowser-arrowscrollbox scrollbox {
>overflow: visible !important;
>}
>.tabbrowser-arrowscrollbox scrollbox > box {
>display: block !important;
>}
>
>/* タブの高さ・横幅設定 */
>.tabbrowser-tab:not([pinned]) {
>min-height: 30px !important;
>max-height: 30px !important;
>min-width: 170px !important;
>}
>.tabbrowser-tabs .tabbrowser-tab {
>vertical-align: top !important;
>-moz-box-sizing: border-box !important;
>min-height: 30px !important;
>max-height: 30px !important;
>}
>
>/* 新しいタブボタン設定 */
>.tabs-newtab-button {
>vertical-align: bottom !important;
>height: 30px !important;
>}
:root { --multirow-n-rows: 3}
#tabbrowser-tabs {
min-height: unset !important;
padding-inline-start: 0px !important;
}
#tabbrowser-tabs > .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
display: flex;
flex-wrap: wrap;
overflow-y: auto;
max-height: calc(var(--tab-min-height) * var(--multirow-n-rows));
scrollbar-color: var(--toolbar-bgcolor) var(--lwt-accent-color);
scrollbar-width: thin;
}
#tabbrowser-tabs > .tabbrowser-arrowscrollbox {
overflow: -moz-hidden-unscrollable;
display: block;
}
.tabbrowser-tab { height: var(--tab-min-height); }
#tabbrowser-tabs .tabbrowser-tab[pinned] {
position: static !important;
margin-inline-start: 0px !important;
}
.tabbrowser-tab > stack { width: 100%; height: 100%; }
#tabbrowser-tabs .scrollbutton-up,
#tabbrowser-tabs .scrollbutton-down,
#alltabs-button,
:root:not([customizing]) #TabsToolbar #new-tab-button,
#tabbrowser-tabs spacer,
.tabbrowser-tab::after { display: none !important; }
.tabbrowser-tab[fadein]:not([pinned]) {
min-width: 100px !important;
flex-grow: 1;
}
.tabbrowser-tab:not([selected="true"]) .tab-close-button { display: none !important; }
※最後の行は今開いているタブだけ閉じるボタンを表示するオプションなので不要なら書かなくても大丈夫
** タブの幅を変更 [#m30d43cb]
+ about:configを開き、browser.tabs.tabMinWidthに100とか入れる
** 検索窓からの検索結果を新しいタブで開く [#h9fa9379]
+ about:configを開き、browser.search.openintab をtrueにする
** 最後のタブを閉じてもウィンドウは閉じない [#la6a6852]
+ about:configを開き、browser.tabs.closeWindowWithLastTab をfalseにする
** ロケーションバーから新しいタブを開く [#q6376fb5]
https://addons.mozilla.org/ja/firefox/addon/new-tab-from-location-bar/