This file contains 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
/** | |
* @author zero-plusplus (https://github.com/zero-plusplus) | |
* @licence MIT | |
* @link https://gist.github.com/zero-plusplus/23af37abef8eb126ae665f7e8174ba41 | |
*/ | |
/** | |
* Terminates all currently running AutoHotkey scripts, including itself. | |
* @param {boolean} [excludeSelf := false] - Excludes the current script from processing | |
*/ | |
KillAllAutoHotkey(excludeSelf := false) { |
This file contains 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
/** | |
* @author zero-plusplus (https://github.com/zero-plusplus) | |
* @licence MIT | |
* @link https://gist.github.com/zero-plusplus/88b4407e3a939233315a1e2e2fffd464 | |
*/ | |
/** | |
* Provides a way to register or unregister window change event. | |
* @example | |
* ; Always change to pseudo full screen when notepad is active | |
* WindowChangeEvent.register(Func("eventCallback")) |
This file contains 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
/** | |
* @author zero-plusplus (https://github.com/zero-plusplus) | |
* @licence MIT | |
* @link https://gist.github.com/zero-plusplus/ad54d19d3e0d34587396c4667fa10079 | |
*/ | |
/** | |
* This class provides static methods for getting/setting the state of the [Input Method Editor (IME)](https://en.wikipedia.org/wiki/Input_method). | |
*/ | |
class Ime { | |
/** |
This file contains 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
/** | |
* @author zero-plusplus (https://github.com/zero-plusplus) | |
* @licence MIT | |
* @link https://gist.github.com/zero-plusplus/89b5278de42d903ce2abf53e4da5433b | |
*/ | |
/** | |
* !!!! CAUTION !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
* This function is intended for use in single games without an anti-cheat system. | |
* AutoHotkey may be treated as a cheat by anti-cheat systems and may result in a ban in the worst case. Never use it. | |
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
This file contains 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
/** | |
* @licence MIT <http://opensource.org/licenses/mit-license.php> | |
* @auther zero-plusplus | |
* @link https://gist.github.com/zero-plusplus/107d88903f8cb869d3a1600db51b7b0a | |
*/ | |
#ErrorStdOut, UTF-8 | |
/** | |
* Suppresses run-time error dialogs and instead outputs their contents to standard output. | |
* | |
* @param {boolean} [enable := true] |
This file contains 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 fixpagetranslate | |
// @namespace | |
// @author zero-plusplus | |
// @include https://* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js | |
// ==/UserScript== | |
(function() { | |
let initedProcessing = false; | |
setTimeout(() => { |