This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Make image links open in a new tab | |
// @namespace http://attie.co.uk/ | |
// @source https://gist.github.com/attie/6ee3fa3dea286452070ed6249de98d70 | |
// @version 2024-05-06 | |
// @description Some links should just open in a new tab... | |
// @author Attie Grande <[email protected]> | |
// @match https://*.stackexchange.com/* | |
// @match https://stackoverflow.com/* | |
// @match https://superuser.com/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Win+LeftClick allows you to move a window from anywhere | |
; be careful, not all windows should be dragged (e.g: start menu) | |
#LButton:: | |
MouseGetPos,KDE_X1,KDE_Y1,KDE_id | |
WinGet,KDE_Win,MinMax,ahk_id %KDE_id% | |
if KDE_Win | |
return | |
WinGetPos,KDE_WinX1,KDE_WinY1,,,ahk_id %KDE_id% | |
loop { | |
GetKeyState,KDE_Button,LButton,P |
OlderNewer