black7375 / Firefox-UI-Fix

🦊 I respect proton UI and aim to improve it.
Mozilla Public License 2.0
5.26k stars 184 forks source link

UserChrome.css option to hide Unified Extensions and Overflow Menu Button #702

Closed kungfubeaner closed 5 months ago

kungfubeaner commented 1 year ago

Is your feature request related to a problem?

Many people including myself like to hide the overflow menu and unified extensions button and I edit UserChrome.css everytime I upgrade Firefox UI fix so I have to be careful to save a copy each time.

The solution I'd like

I would like it if UserChrome.css came with these two lines commented out in order to be able to just uncomment them to enable the feature:

/* Hide Overflow Menu button */
#PlacesChevron { display: none !important; }

/* Hide Unified Extensions button */
#unified-extensions-button, #unified-extensions-button > .toolbarbutton-icon {
    width: 0px !important;
    padding: 0px !important;
}

Screenshots or video

No response

Alternatives I've considered

No response

Additional context

Overflow menu button shows up randomly when you have your bookmarks toolbar next to your extensions icon in the toolbar. I have a folder with links/bookmarks in my toolbar for easy access which triggers that bug with the overflow menu button.

ricewind012 commented 1 year ago

maybe there should be a list of buttons you can't remove in userChrome.css, i.e.

/* Navigation bar */
#PlacesChevron, /* Overflow menu */
#PanelUI-button, /* Application menu */
#unified-extensions-button, /* Extensions */

/* URL bar */
#tracking-protection-icon-container, /* Tracking protection */
#pageActionButton, /* Page actions */
#star-button-box /* Bookmark this page */
{
  display: none !important;
}
black7375 commented 5 months ago

Sorry for the delay. I think this is best left to personalization rather than adding an option. Please follow the suggestions above to set it up.