搜尋 Mozilla 技術支援網站

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

了解更多

Option-shift-space causes page refresh

more options

I've noticed that whenever I press ⌥⇧Space (option-shift-spacebar) in Firefox Developer Edition, it causes the page to refresh.

This behaviour seems to be consistent across devices.

Is there a way to change/disable this behaviour? It is very inconvenient, as it often causes me to accidentally trigger a page refresh when I type an em dash (`—`) in a text input (opt-shift-dash, and then type a space character after it, I'm very likely to hit opt-shift-space by mistake 🙈).

I've noticed that whenever I press ⌥⇧Space (option-shift-spacebar) in Firefox Developer Edition, it causes the page to refresh. This behaviour seems to be consistent across devices. Is there a way to change/disable this behaviour? It is very inconvenient, as it often causes me to accidentally trigger a page refresh when I type an em dash (`—`) in a text input (opt-shift-dash, and then type a space character after it, I'm very likely to hit opt-shift-space by mistake 🙈).

被選擇的解決方法

Found it. It's not a Firefox shortcut; it's introduced by the NoScript extension:

https://github.com/hackademix/noscript/blob/cd69f1a1837ac97ef89262967e7131671afa954a/src/manifest.json#L179

```

 "commands": {
   "toggleEnforcementForTab": {
     "description": "__MSG_toggleEnforcementForTab__",
     "suggested_key": {
       "default": "Alt+Shift+Space",
       "windows": "Alt+Shift+Comma"
     }
   },

```

This means I've been accidentally toggling NoScript on and off for various sites without realising it over the years 🙀

I've changed the shortcut following the instructions at https://support.mozilla.org/en-US/kb/manage-extension-shortcuts-firefox and that pesky unexpected refresh no longer occurs 🥽

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

所有回覆 (1)

more options

選擇的解決方法

Found it. It's not a Firefox shortcut; it's introduced by the NoScript extension:

https://github.com/hackademix/noscript/blob/cd69f1a1837ac97ef89262967e7131671afa954a/src/manifest.json#L179

```

 "commands": {
   "toggleEnforcementForTab": {
     "description": "__MSG_toggleEnforcementForTab__",
     "suggested_key": {
       "default": "Alt+Shift+Space",
       "windows": "Alt+Shift+Comma"
     }
   },

```

This means I've been accidentally toggling NoScript on and off for various sites without realising it over the years 🙀

I've changed the shortcut following the instructions at https://support.mozilla.org/en-US/kb/manage-extension-shortcuts-firefox and that pesky unexpected refresh no longer occurs 🥽

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題