Add: Hidden - Private indicator

This commit is contained in:
alstjr7375 2023-01-04 22:38:55 +09:00
parent 0b4cce9827
commit 3bfa27199f
3 changed files with 19 additions and 0 deletions

View file

@ -9667,6 +9667,12 @@
}
}
}
@supports -moz-bool-pref("userChrome.hidden.private_indicator") {
.private-browsing-indicator,
#private-browsing-indicator-with-label {
display: none;
}
}
@supports -moz-bool-pref("userChrome.hidden.titlebar_container") {
.titlebar-buttonbox-container {
display: none !important;

View file

@ -27,6 +27,18 @@
}
}
@include Option("userChrome.hidden.private_indicator") {
// :root:not([privatebrowsingmode=temporary]) .private-browsing-indicator,
// :root[privatebrowsingnewindicator] .private-browsing-indicator,
// :root:not([privatebrowsingnewindicator]) #private-browsing-indicator-with-label,
// :root:not([privatebrowsingmode=temporary]) #private-browsing-indicator-with-label {
// }
.private-browsing-indicator,
#private-browsing-indicator-with-label {
display: none;
}
}
@include Option("userChrome.hidden.titlebar_container") {
.titlebar-buttonbox-container {
display: none !important;

View file

@ -94,6 +94,7 @@ user_pref("userChrome.rounding.square_tab", false);
// user_pref("userChrome.hidden.tab_icon.always", true);
// user_pref("userChrome.hidden.tabbar", true);
// user_pref("userChrome.hidden.navbar", true);
// user_pref("userChrome.hidden.private_indicator", true);
// user_pref("userChrome.hidden.titlebar_container", true);
// user_pref("userChrome.hidden.sidebar_header", true);
// user_pref("userChrome.hidden.sidebar_header.vertical_tab_only", true);