Forum Moderators: open
/*
Ignore attempts to launch multiple instances of the program
*/
#SingleInstance ignore
#InstallKeybdHook
/*
Disable a series of keys
*/
!F4:: ; Alt F4
!Esc:: ; Alt Escape
Lwin:: ; Left Windows Key
Rwin:: ; Right Windows Keyl
^Tab:: ; Ctrl Tab
!Tab:: ; Alt Tab
!+Tab:: ; Alt Shift Tab
F7:: ; F7
^+Escape:: ; Ctrl Shift Escape
!+Escape:: ; Alt SHift Escape
^A:: ; Ctrl A
^R:: ; Ctrl R
^P:: ; Ctrl P
^X:: ; Ctrl X
^C:: ; Ctrl C
^V:: ; Ctrl V
^T:: ; Ctrl T
!VK24:: ; Alt Home
SC135:: ; Firefox Quick Find
SC145:: ; Num Lock
SC03A:: ; Caps Lock
SC046:: ; Scroll Lock
!LButton:: ; Alt Left Click which starts download in Firefox
^LButton:: ; Ctrl Left Click which starts download
!MButton:: ; Alt Middle Click which opens a new tab in Firefox
^MButton:: ; Alt Middle Click which opens a new tab
+LButton:: ; Shift Left Click which opens a new window in Firefox
+MButton:: ; Shift Middle Click which opens a new tab
+VK0D:: ; Shift Enter which opens a new window
!+VK0D:: ; Alt Shift Enter which opens a new window
!VK0D:: ; Alt Enter which starts download
^VK0D:: ; Ctrl Enter which opens a new tab
^+VK0D:: ; Ctrl Shift Enter opens a new tab
^!VK0D:: ; Ctrl Alt Enter opens a new tab
^Escape:: ; Ctrl Escape
!Space:: ; Alt Space which opens menu bar
!+Space:: ; Alt Shift Space which opens menu bar
return
/*
Set Alt F9 to exit any open Firefox browser
*/
!F9::
IfWinExist, ahk_class MozillaUIWindowClass ; Firefox
{
WinActivate ahk_class MozillaUIWindowClass
WinClose, ahk_class MozillaUIWindowClass
}
return
but you said non-commercial which is why I suggested AutoHotKey