We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Switch between Tabs - Recent Order + Tab Order - Best of Two Worlds

  • 3 답장
  • 1 이 문제를 만남
  • 8 보기
  • 최종 답변자: Cartucho

more options

When switching tabs, Firefox allows you two behaviours: Recent Order or Tab Order but you have to choose between them. This is a trick to have THE TWO BEHAVIOURS TOGETHER Catch: AutoHotkey is required.

In Firefox Options/Preferences -> General -> Tabs" mark enable recent order (ticked) Then compile the next script in Autohotkey and keep it running.


  1. if WinActive("ahk_exe firefox.exe")

^Q::Send, ^{TAB} ^Tab::Send, ^{PGDN} +^Tab::Send, ^{PGUP}

  1. if

Now with Ctrl+Tab and Ctrl+Shift+Tab you move right and left between Tabs and with Ctrl+Q you move to last viewed Tab. I choose Q because is next to Tab but you can change it in the second line of the script. Cheers!

When switching tabs, Firefox allows you two behaviours: '''Recent Order''' or '''Tab Order''' but you have to choose between them. This is a trick to have '''THE TWO BEHAVIOURS TOGETHER''' Catch: AutoHotkey is required. In Firefox Options/Preferences -> General -> Tabs" mark enable recent order (ticked) Then compile the next script in Autohotkey and keep it running. ----------------------------------------------- #if WinActive("ahk_exe firefox.exe") ^Q::Send, ^{TAB} ^Tab::Send, ^{PGDN} +^Tab::Send, ^{PGUP} #if ----------------------------------------------- Now with '''Ctrl+Tab''' and '''Ctrl+Shift+Tab''' you move right and left between Tabs and with '''Ctrl+Q''' you move to last viewed Tab. I choose Q because is next to Tab but you can change it in the second line of the script. Cheers!

모든 댓글 (3)

more options

This forum change some characters of the script... (don't work if copy like that) where says "1." change for the simbol "#"

Maybe some moderator can edit it. Thanks!

more options

If you put a blank space at the beginning of each line, or but <pre> before and </pre> after your code, the forum won't mess with it.

Also, there are add-ons for this. I prefer sequential access as my default, so my add-on allows assigning a keyboard shortcut to switch to the last active tab. It also has drop-down lists, if that would be of interest.

https://addons.mozilla.org/firefox/addon/switch-to-previous-active-tab/

more options

jscher2000 said

If you put a blank space at the beginning of each line, or but <pre> before and </pre> after your code, the forum won't mess with it. Also, there are add-ons for this. I prefer sequential access as my default, so my add-on allows assigning a keyboard shortcut to switch to the last active tab. It also has drop-down lists, if that would be of interest. https://addons.mozilla.org/firefox/addon/switch-to-previous-active-tab/

Thanks! I did not know that extension... I think what is better that way what depend of a external program.

About forum messing with code, thanks for the tip but I can't edit my posts... maybe for next time.