How to hide 3dot/kebap/page action menu only?

User Help for Mozilla Firefox
Post Reply
User avatar
tdrs
Posts: 53
Joined: September 19th, 2010, 6:59 am

How to hide 3dot/kebap/page action menu only?

Post by tdrs »

Hi,

I am looking for a way to hide the page action-menu.
I already found this, which works very well ...

Code: Select all

.urlbar-page-action-button {display:none !important;}
... but I want more :twisted:

The thing is i would like to keep the bookmark-/star-button inside the adressbar (before quantum i had an extension for that but it stopped working).

I - personally - have no use for all the other functions inside the kebap menu.
I can remove the pocket icon through about:config.

So I am hoping someone could help me to figure out how this can be done.
Maybe the 3 dots would vanish if I am able to hide all the items in it one by one.
Like

Code: Select all

.urlbar-page-action-button[copy-link], .urlbar-page-action-button[email-link],  .urlbar-page-action-button[send-to-device], {display:none !important;}
I have no idea how these identifiers are named (and even than I am not sure if it would work).

Has anyone of you an idea how this could be done?

Kind regards
tdrs
Win7x64, GTX 1060
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: How to hide 3dot/kebap/page action menu only?

Post by Gingerbread Man »

Hello,

First click the ellipsis button, then from the menu that pops up right-click Bookmark This Page (or Edit This Bookmark) and choose Add to Address Bar. The bookmark star is then a separate button and you can hide the others as follows:

Code: Select all

#reader-mode-button,
#urlbar-zoom-button,
#pageActionSeparator,
#pageActionButton {
  display: none !important;
}
User avatar
tdrs
Posts: 53
Joined: September 19th, 2010, 6:59 am

Re: How to hide 3dot/kebap/page action menu only?

Post by tdrs »

These identifiers are exactly what I was looking for and they work perfectly, thank you very much Gingerbread Man!
The code I am using:

Code: Select all

#pageActionSeparator,
#pageActionButton {
  display: none !important;
}
(I'm ok with reader mode, and the zoom button is only visible when zoom isn't 100% and works as a reset button which is nice)
Win7x64, GTX 1060
Post Reply