Created
September 16, 2013 08:11
-
-
Save kkotaro0111/6577862 to your computer and use it in GitHub Desktop.
ブラウザゲームをJSでハックする際、DOM操作を少しでも簡単にするため、jQuery非対応サイトに無理矢理jQueryを対応させるスクリプト
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
(function(){ | |
//load jQuery | |
var loadjq = document.createElement("script"); | |
loadjq.type = "text/javascript"; | |
loadjq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"; | |
document.body.appendChild(loadjq); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment