change right-click refresh position
Hello, it's been awhile since I had firefox.
So, when you right-click on a page in the newest version, you get a menu with icons in the top row. I'm used to refresh even being a low element on the list, but now it's to the side, a kind of annoying position to navigate to and may hit back/forward/favorite. Up and down motions are much easier to do on a mouse than side to side or diagonals.
I'd like for the refresh button to be the first element to the left, where back is, which is the shortest distance. I'm a compulsive right-click refresher. (otherwise, I have to use my left hand to do a refresh, or go aaall the way up to the tiny button in the address bar)
פתרון נבחר
You can set one of those four items as the first by giving it a -moz-box-ordinal-group:0!important CSS rule.
#context-back #context-forward #context-reload #context-stop
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 */ #context-reload { -moz-box-ordinal-group:0 !important; }
The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
You can use this button to go to the currently used Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
- http://kb.mozillazine.org/Profile_folder_-_Firefox
If you prefer text labels in the right-click context menu instead of the icons for Back, Forward and Reload and the star to bookmark the page then you can install the "Classic Theme Restorer" extension. You can find the option to get text labels instead of icons in the context menu in the Options/Preferences of the CTR extension in the General UI section.
- Replace page context menu icons with labels (back, forward, stop, reload, bookmark page)
Note that you can navigate the icons in the context menu via the Up and Down cursor keys and press the Enter key to invoke the action like you can with the other items in the context menu.
- Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
כל התגובות (6)
hi, there would also be the f5 key as another option to reload a page :-)
I know, but that still involves removing my left hand from propping my face and hitting the keyboard
פתרון נבחר
You can set one of those four items as the first by giving it a -moz-box-ordinal-group:0!important CSS rule.
#context-back #context-forward #context-reload #context-stop
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 */ #context-reload { -moz-box-ordinal-group:0 !important; }
The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
You can use this button to go to the currently used Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
- http://kb.mozillazine.org/Profile_folder_-_Firefox
If you prefer text labels in the right-click context menu instead of the icons for Back, Forward and Reload and the star to bookmark the page then you can install the "Classic Theme Restorer" extension. You can find the option to get text labels instead of icons in the context menu in the Options/Preferences of the CTR extension in the General UI section.
- Replace page context menu icons with labels (back, forward, stop, reload, bookmark page)
Note that you can navigate the icons in the context menu via the Up and Down cursor keys and press the Enter key to invoke the action like you can with the other items in the context menu.
- Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
השתנתה ב־
Well burn my biscuits! That worked.
I had to play with it for awhile - I just installed FireFox so it's worth noting like in the userChrome link that a default user won't have a Chrome folder with a userChrome.css in it, it must be created.
Also had to remove the namespace for it to be a change for every page, I assume. And of course a browser restart for changes.
Thanks!
השתנתה ב־
The @namespace line should be there at the start of the file for proper functioning and avoiding namespace issues.
When I leave your exact namespace in, it no longer works