Skip to content

Instantly share code, notes, and snippets.

@mono0x
Last active January 11, 2016 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mono0x/ae80eb5ca6cdb8989321 to your computer and use it in GitHub Desktop.
Save mono0x/ae80eb5ca6cdb8989321 to your computer and use it in GitHub Desktop.
/*
* @title 生放送に入場
* @description ニコニコ生放送に自動で入場します。
* @include http://live.nicovideo.jp/gate/*
* @license MIT License
*/
(function(d) {
var a,
t = setInterval(function() {
if(a = d.querySelector('#gates .door a[href]')) {
location.href = a.href;
clearInterval(t);
}
}, 100);
d.title = '* ' + d.title;
})(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment