MozillaZine

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

User Help for Mozilla Firefox
tdrs

User avatar
 
Posts: 47
Joined: September 19th, 2010, 6:59 am

Post Posted January 25th, 2018, 11:36 am

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

Gingerbread Man

User avatar
 
Posts: 7734
Joined: January 30th, 2007, 10:55 am

Post Posted January 26th, 2018, 8:22 pm

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;
}

tdrs

User avatar
 
Posts: 47
Joined: September 19th, 2010, 6:59 am

Post Posted January 29th, 2018, 1:25 pm

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

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 9 guests