搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Remove new three-dot button on addressbar?

  • 4 回覆
  • 1 有這個問題
  • 7 次檢視
  • 最近回覆由 cor-el

more options

New three-dot button that was added to the addressbar can be tabbed to and has slowed down my productivity.

My usual hotkey combo to search is <ctrl+t> <tab> <type search string> <enter>. I understand I can replace <tab> with <ctrl+e> to access the searchbar, or that I can <tab> twice - I'm just wondering if there's a way to go back to how it was a few days ago, for muscle-memory-sake?

Addressbar buttons are not customizable via the toolbar customize mode.

Browser: FF(dev)67.0b3 (64-bit) \n Attachment (which doesn't seem to want to upload, here): https://i.imgur.com/IPYJvs9.png \n Edit: No idea why newline is being removed between browser and attachment.

New three-dot button that was added to the addressbar can be tabbed to and has slowed down my productivity. My usual hotkey combo to search is <ctrl+t> <tab> <type search string> <enter>. I understand I can replace <tab> with <ctrl+e> to access the searchbar, or that I can <tab> twice - I'm just wondering if there's a way to go back to how it was a few days ago, for muscle-memory-sake? Addressbar buttons are not customizable via the toolbar customize mode. Browser: FF(dev)67.0b3 (64-bit) \n Attachment (which doesn't seem to want to upload, here): https://i.imgur.com/IPYJvs9.png \n Edit: No idea why newline is being removed between browser and attachment.

由 Dog 於 修改

所有回覆 (4)

more options

I see that in Firefox 67/68 you can use tab to reach a lot more elements in the user interface. I can tab to the Control Center 'i' icon and the zoom control when visible and the three-dot "Page actions" menu and some more icons (but not the "3-bar" menu button) on the Navigation Toolbar and the Bookmarks Toolbar. Best would be to get used to press Tab twice because you will at one time get used to this change unless you currently still use older Firefox versions.

If I hide the "Page actions" button then tab still selects the first item in the page actions container like the bookmarks star. You would have to hide the complete container including the star and buttons you ad via the drop-down menu to be able to tab to the search bar. See the source code for all items that can be displayed.


If you want to experiment and see what happens, userChrome.css:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
/* hide page actions button */
#pageActionButton {display:none!important;}
/* hide complete container, use with care! */
#page-action-buttons {display:none!important;}
more options

Note that this button isn't really new, but now you can tab to it.


You can find items like "Take a Screenshot" and the bookmarks star in the "Page actions" drop-down list (3-dot icon at the right end of the location/address bar). You can right-click an item in the "Page actions" drop-down list to add its button to the location/address bar for easy access.

more options

After rethinking, maybe this code will work to hide the container by default and show it on hover with the mouse of the location bar. That way you can use the tab key if you make sure the mouse isn't on the location bar. Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#urlbar-container #page-action-buttons {display:none !important}
#urlbar-container:hover #page-action-buttons {display:-moz-box !important}
more options

If you move the complete page action button box to the left position then it no longer interferes with the Tab key.

/* PAGE ACTION - left position */
#page-action-buttons {-moz-box-ordinal-group:0; border-right: 1px dotted gray}

Code that works better with hiding these items (i.e. you can click a button to open a pop-up). Note that you need some space to be able to show the buttons on hover, so I leave the star visible although it works with the star hidden as well if you are patient or set the default padding to 1px.

/* PAGE-ACTION - Hide separator, only show buttons after 1-sec hover */
#pageActionSeparator, #star-button-animatable-image {display: none !important}
#page-action-buttons image:not(#star-button) {
 width: 0 !important; transition: all 1s ease-in-out; padding: 0px !important;
}
#page-action-buttons:hover image:not(#star-button) {
 width: 24px !important; transition: all 1s ease-in-out 1s; padding: 4px !important;
}