Code: Select all
^`::°
#IfWinActive ahk_exe firefox.exe
+^o::
Send !t
Sleep 30
Send o
Return
>+>^c::
Send ^t
Sleep 30
Send about:config{Enter}
Return
+^r::
Send +^j
Sleep 200
Send !^r
Sleep 3000
Send ^w
Return
Ctrl-Shft-O opens the Options tab by sending keys AltT, O.
RightCtrl-Shft-C opens about:config in a new tab. (LeftCtrl-Shft-C remains available to open Inspector.)
Ctrl-Shft-R restarts Firefox with the same tabs, via the Console, which it then closes again. Very useful for debugging user css.
AHK can also set up volume keys for keyboards that lack them, and virtually anything else I can think of. Please share your favorite hotkeys for Firefox! (A search here didn't turn up many.)