Created
July 29, 2012 23:16
-
-
Save legnoh/3202503 to your computer and use it in GitHub Desktop.
Nicochart Improved @ninja
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
// ==UserScript== | |
// @name NicoChart Improved | |
// @namespace http://now.nicochart.jp/* | |
// @include http://now.nicochart.jp/* | |
// ==/UserScript== | |
var tmbs = document.getElementsByClassName('lazy-display'); | |
for (var i = 0; i < tmbs.length; i++) { | |
var tmb = tmbs[i].parentNode; | |
tmb.setAttribute('target', '_blank'); | |
tmb.setAttribute('onClick', 'this.parentNode.parentNode.parentNode.style.display = \'none\';'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment