Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Pinned tabs and keyboard shortcuts cmd + 0-9

more options

Hey community!

Is there any way to make the cmd + 0-9 keyboard shortcut in Mac OS ignore pinned tabs?

Alternatively, for the shortcut ctrl + 0-9 to activate pinned tabs, and for the shortcut cmd + 0-9 unpinned tabs?

Thanks for the answers!

Hey community! Is there any way to make the '''cmd + 0-9''' keyboard shortcut in Mac OS '''ignore pinned tabs'''? Alternatively, for the shortcut '''ctrl + 0-9''' to activate '''pinned tabs''', and for the shortcut '''cmd + 0-9''' '''unpinned tabs'''? Thanks for the answers!

被選擇的解決方法

Okay, I have added this to: https://addons.mozilla.org/firefox/addon/switch-to-previous-active-tab/

To assign the keyboard shortcuts you want, use the Add-ons page, "gear" menu, "Manage Extension Shortcuts" item (see attached screenshot).

To assign a key, click in the box and press the key you want to use. Firefox should inform you if you're not allowed to use it for some reason.

By default, it will skip the pinned tabs and any hidden tabs (some add-ons can hide tabs). You can adjust the settings on the Options screen (right-click the add-on's button and click Options).

If you give it a try, does it work for you?

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

所有回覆 (4)

more options

Not that I know of. On Windows "Ctrl + 1-9" is used and on Linux "Alt + 1-9", so control isn't available cross platform. It might be better to reserve the Shift modifier to reach unpinned tabs. Maybe file an enhancement bug report to investigate this feature.

Note that "Cmd + 1-8" is used to reach the first eight tabs and "Cmd + 9" to go to the last tab.

more options

Yes I think that your idea is very good. Do you know how to achieve this in Firefox 95 on Mac OS?

more options

If Ctrl+1 - Ctrl+8 doesn't do anything else on Firefox/Mac, an add-on could intercept them to activate non-pinned tabs.

I found two extensions that you can use to assign those keys, but neither of them has the option to skip pinned tabs:

Maybe I can add it to one of my add-ons. (Investigating...)

more options

選擇的解決方法

Okay, I have added this to: https://addons.mozilla.org/firefox/addon/switch-to-previous-active-tab/

To assign the keyboard shortcuts you want, use the Add-ons page, "gear" menu, "Manage Extension Shortcuts" item (see attached screenshot).

To assign a key, click in the box and press the key you want to use. Firefox should inform you if you're not allowed to use it for some reason.

By default, it will skip the pinned tabs and any hidden tabs (some add-ons can hide tabs). You can adjust the settings on the Options screen (right-click the add-on's button and click Options).

If you give it a try, does it work for you?