Skip to content

Instantly share code, notes, and snippets.

@geckotang
Forked from kubosho/color.js
Last active August 29, 2015 14:07
Show Gist options
  • Save geckotang/de2ecd1436e36a80af2f to your computer and use it in GitHub Desktop.
Save geckotang/de2ecd1436e36a80af2f to your computer and use it in GitHub Desktop.
var $box = $('#box'), $panels, $panel, f, i;
function exec() {
for (i=0; i<$panels.length; i++){
$panel = $($panels[i]);
if ($panel.data('type') === 'a') {
$panel.click();
return true;
}
}
}
(function execloop(){
$panels = $box.find('span');
exec();
window.requestAnimationFrame(execloop);
}());
@geckotang
Copy link
Author

孤獨求色lv10657

@geckotang
Copy link
Author

コンソールで何回も実行しておくと、lv28027に。

@geckotang
Copy link
Author

lv31171!!
lv31171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment