X
Tap here to go to the mobile version of the site.

منتدى الدعم

Remove new three-dot button on addressbar?

Posted

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.

Modified by TheTopMostDog

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17470 solutions 157890 answers

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;}
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. *https://dxr.mozilla.org/mozilla-beta/source/browser/base/content/browser.xul#986 <hr> If you want to experiment and see what happens, userChrome.css: <pre><nowiki>@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;} </nowiki></pre>
cor-el
  • Top 10 Contributor
  • Moderator
17470 solutions 157890 answers

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.

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.
cor-el
  • Top 10 Contributor
  • Moderator
17470 solutions 157890 answers

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}
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 <b>userChrome.css</b> file below the default @namespace line. <hr> <pre><nowiki>@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} </nowiki></pre>
cor-el
  • Top 10 Contributor
  • Moderator
17470 solutions 157890 answers

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;
}
If you move the complete page action button box to the left position then it no longer interferes with the Tab key. <pre><nowiki>/* PAGE ACTION - left position */ #page-action-buttons {-moz-box-ordinal-group:0; border-right: 1px dotted gray} </nowiki></pre> ---- 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. <pre><nowiki>/* 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; }</nowiki></pre>