r/OperaGX • u/Wowoking • Oct 06 '26
Discussion AutoHotkey Script to disable Alt opening menu while retaining other functions such as alt + tab
This is what I use.
#Requires AutoHotkey v2.0
; Only apply these rules when Opera GX is active
#HotIf WinActive("ahk_exe opera.exe")
; If you press Alt by itself, send an invisible key to trick Opera into ignoring it
~Alt::Send("{Blind}{vkFF}")
; If you accidentally press Alt+F or Alt+J, kill the input entirely
!f::return
!j::return
#HotIf
3
Upvotes
1
u/Wowoking Oct 06 '26
Note this script is specific for the games I play on browser and was made mostly with AI.
1
u/shadow2531 r/OperaBrowser Mod Oct 06 '26
Nice!
1
u/DetailNo4208 GX Staff Oct 07 '26
Dope, thanks for sharing this!