搜尋 Mozilla 技術支援網站

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

了解更多

change right-click refresh position

  • 6 回覆
  • 1 有這個問題
  • 24 次檢視
  • 最近回覆由 kiwizoom

more options

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)

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:


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.


從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

hi, there would also be the f5 key as another option to reload a page :-)

more options

I know, but that still involves removing my left hand from propping my face and hitting the keyboard

more options

選擇的解決方法

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:


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.


由 cor-el 於 修改

more options

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!

由 kiwizoom 於 修改

more options

The @namespace line should be there at the start of the file for proper functioning and avoiding namespace issues.

more options

When I leave your exact namespace in, it no longer works