Add: Option - Tabbar

This commit is contained in:
alstjr7375 2022-03-14 16:02:50 +09:00
parent 6eb6aad253
commit b085d661be
4 changed files with 34 additions and 10 deletions

View file

@ -1,5 +1,9 @@
/** Clipped tabs - Letters cleary *********************************************/
@import "clipped_tab/letters_cleary";
@include Option("userChrome.tab.letters_cleary") {
@import "clipped_tab/letters_cleary";
}
/** Clipped tabs - Show close button at hover *********************************/
@import "clipped_tab/show_close_button_at_hover";
@include Option("userChrome.tab.close_button_at_hover") {
@import "clipped_tab/show_close_button_at_hover";
}

View file

@ -1,6 +1,6 @@
/*= Tab Bar - Connect to window ==============================================*/
@include Option("userChrome.tab.connect_to_window") {
@import "tabbar/connect_to_window";
@import "connect_to_window";
}
/*= Selected Tab =============================================================*/
@ -13,7 +13,9 @@
@import "newtab_button";
/*= Unloaded Tab - Contents Opacity ===========================================*/
@import "unload_tab";
@include Option("userChrome.tab.unloaded") {
@import "unload_tab";
}
/*= Clipped tabs =============================================================*/
@import "clipped_tab";
@ -22,10 +24,16 @@
@import "sound_tab";
/*= PictureInPicture Tab - Show PIP Icon =====================================*/
@import "picture_in_picture_tab";
@include Option("userChrome.tab.pip") {
@import "picture_in_picture_tab";
}
/*= Container Tab - Color line at icon's bottom ==============================*/
@import "container_tab";
@include Option("userChrome.tab.container") {
@import "container_tab";
}
/*= Crashed Tab - Don't show Favicons ========================================*/
@import "crashed_tab";
@include Option("userChrome.tab.crashed") {
@import "crashed_tab";
}

View file

@ -1,5 +1,9 @@
/*= Sound Tab - Hide Label ===================================================*/
@import "sound_tab/hide_label";
@include Option("userChrome.tab.sound_hide_label") {
@import "sound_tab/hide_label";
}
/*= Sound Tab - Show with Favicons ===========================================*/
@import "sound_tab/show_with_favicons";
@include Option("userChrome.tab.sound_with_favicons") {
@import "sound_tab/show_with_favicons";
}

10
user.js
View file

@ -70,7 +70,15 @@ user_pref("userChrome.padding.bookmarkMenu", true);
user_pref("userChrome.padding.globalMenu", true);
user_pref("userChrome.padding.popupPanel", true);
user_pref("userChrome.tab.multi_selected", true);
user_pref("userChrome.tab.multi_selected", true);
user_pref("userChrome.tab.unloaded", true);
user_pref("userChrome.tab.letters_cleary", true);
user_pref("userChrome.tab.close_button_at_hover", true);
user_pref("userChrome.tab.sound_hide_label", true);
user_pref("userChrome.tab.sound_with_favicons", true);
user_pref("userChrome.tab.pip", true);
user_pref("userChrome.tab.container", true);
user_pref("userChrome.tab.crashed", true);
// ** Useful Options ***********************************************************
// Integrated calculator at urlbar