Created
November 27, 2022 14:04
-
-
Save xnuk/be1e93f041f6e85ee4b90fbd4532f8e2 to your computer and use it in GitHub Desktop.
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 jQuery ajax force async | |
// @version 1 | |
// @grant none | |
// @run-at document-end | |
// @match https://stdict.korean.go.kr/search/* | |
// ==/UserScript== | |
const a = () => { | |
const ajax = window.$.ajax.bind(window.$) | |
window.$.ajax = (first, ...args) => { | |
if (first != null) first.async = true | |
return ajax(first, ...args) | |
} | |
} | |
unsafeWindow.eval('(' + a + ')()') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment