Created
September 15, 2013 16:05
-
-
Save shizone/6572029 to your computer and use it in GitHub Desktop.
Developer Consoleからコード突っ込んでクッキークリックしまくるやつ
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
var cookie = document.getElementById("bigCookie"); | |
var e = document.createEvent("MouseEvents"); | |
e.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, | |
false, false, false, 0, null); | |
window.setInterval( function() { | |
cookie.dispatchEvent(e); | |
}, 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
あ、Chromeで動作確認してます