Skip to content

Commit

Permalink
privatemode indicator menu button: add class selector to hide the item
Browse files Browse the repository at this point in the history
This fixes #478
  • Loading branch information
MrOtherGuy committed Dec 3, 2024
1 parent 93c8b2b commit d9e3c87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chrome/privatemode_indicator_as_menu_button.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ See the above repository for updates as well as full license text. */
/* Removes the private-browsing-mode indicator from tabs toolbar and changes the menu-button icon to the private-browsing indicator in private windows */

#private-browsing-indicator-with-label,
.private-browsing-indicator-with-label,
.private-browsing-indicator{ display: none }
:root[privatebrowsingmode="temporary"] #PanelUI-menu-button{
list-style-image: url("chrome://global/skin/icons/indicator-private-browsing.svg") !important;
Expand Down

0 comments on commit d9e3c87

Please sign in to comment.