10-25-2023 08:00 PM
Previously, you could remove the "Private browsing" text from the upper right corner of a private window (and just have the icon appear) by setting browser.privatebrowsing.enable-new-indicator to false in about:config. This setting seems to be have been broken in version 119. Can it be fixed?
Solved! Go to Solution.
10-25-2023 11:56 PM
Hello
Try https://www.reddit.com/r/FirefoxCSS/comments/yiomss/remove_label_from_the_new_private_browsing
#private-browsing-indicator-with-label > label {
display: none;
}
Copy/paste the code (for example) into Notepad
Save
Type: All files
userChrome.css
Create a chrome folder
Move userChrome.css to your chrome folder
Go to your profile folder
https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-prof... Open the corresponding folder
Move your chrome folder to your profile folder
about:config https://support.mozilla.org/en-US/kb/about-config-editor-firefox
Searching for preferences toolkit.legacyUserProfileCustomizations.stylesheets
To change a boolean (true-false) preference's value, double-click on the preference. to set it to true
Stop Firefox start Firefox
12-29-2024 02:43 PM
They changed it again. One of these should work:
.private-browsing-indicator-label{display: none;}
.private-browsing-indicator-label{display:none !important;}
.private-browsing-indicator-with-label {
display:none !important;
}
https://github.com/MrOtherGuy/firefox-csshacks/issues/478#issuecomment-2564849036
10-25-2023 11:56 PM
Hello
Try https://www.reddit.com/r/FirefoxCSS/comments/yiomss/remove_label_from_the_new_private_browsing
#private-browsing-indicator-with-label > label {
display: none;
}
Copy/paste the code (for example) into Notepad
Save
Type: All files
userChrome.css
Create a chrome folder
Move userChrome.css to your chrome folder
Go to your profile folder
https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-prof... Open the corresponding folder
Move your chrome folder to your profile folder
about:config https://support.mozilla.org/en-US/kb/about-config-editor-firefox
Searching for preferences toolkit.legacyUserProfileCustomizations.stylesheets
To change a boolean (true-false) preference's value, double-click on the preference. to set it to true
Stop Firefox start Firefox
10-26-2023 05:53 PM
That worked, thanks! Appreciate the quick assistance!
10-27-2023 12:15 PM - edited 10-27-2023 12:16 PM
10-27-2023 12:16 PM
I fell you, i too want to edit the free code browser wiout learning css
10-28-2023 02:49 AM
This is ridiculous. Mozilla keeps making things worse even though they have no pressure to go down the same path of ensh**tification, they're doing it willingly. How incredibly frustrating.
02-23-2024 07:26 AM
I agree. It is too much stuff, too much stress and it is stealing too much of my time.
07-30-2024 10:49 PM
Hello
For information purposes
A different https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/privatemode_indicator_as_menu_butt...
12-29-2024 02:43 PM
They changed it again. One of these should work:
.private-browsing-indicator-label{display: none;}
.private-browsing-indicator-label{display:none !important;}
.private-browsing-indicator-with-label {
display:none !important;
}
https://github.com/MrOtherGuy/firefox-csshacks/issues/478#issuecomment-2564849036
12-29-2024 04:36 PM - edited 12-29-2024 04:54 PM
Many thanks @MaximilianKohlr ! I had given up on this when they broke it this time and was just going to live with it. I'm on Linux Mint running Firefox 133.0.3 and just the first line was enough to display only the icon with no text.
So this is what worked for me in my userChrome.css file (note the leading period is NOT a typo):
.private-browsing-indicator-label{display: none;}
If I included the other two lines, it removed both the text and the icon.
Haven't been able to get it to work on Windows 11 (Firefox 133.0.3). Including all three lines appears to do nothing. But Linux is my daily driver, so I'm happy. Thanks again! (And I wish they would stop breaking this!)
12-29-2024 09:15 PM - edited 12-29-2024 09:51 PM
Hello
Addition, for information purposes
Browser Toolbox https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html
By way of illustration
Addition, test userChrome.css https://www.youtube.com/embed/p844gCDhqnU by way of illustration