Created
October 22, 2013 10:04
-
-
Save furugomu/7098121 to your computer and use it in GitHub Desktop.
フラッシュ的な物の右下にスキップボタンを追加する。WebHubで使え。
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
// ==UserScript== | |
// @name million live | |
// @include http://app.ip.bn765.com/app/index.php/* | |
// @include http://imas.gree-apps.net/app/index.php/* | |
// ==/UserScript== | |
var script = document.createElement('script'); | |
var f = function() { | |
if (window._root && _root.next_url) { | |
var a = document.createElement('a'); | |
document.body.appendChild(a); | |
a.href = _root.next_url; | |
a.innerHTML = '<div style="position:absolute; bottom:10px; right:10px; padding:10px 20px; border:solid 2px; background:silver">次へ</div>'; | |
a. | |
a.style.textDecoration = 'none'; | |
} | |
} | |
script.textContent = '('+f.toString()+')()'; | |
document.body.appendChild(script); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment