Created
August 26, 2015 13:21
-
-
Save knowlet/42cc5829e3f01c2e0e04 to your computer and use it in GitHub Desktop.
auto pagging for 99comic
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 auto99 | |
// @namespace http://knowlet.me/ | |
// @version 0.1 | |
// @description auto pagging for 99comic | |
// @author knowlet | |
// @match http://www.99comic.com/comics/* | |
// @grant none | |
// ==/UserScript== | |
var a = document.querySelector(".cHeadNav") | |
while (a.nextElementSibling) {a.nextSibling.remove()} | |
var arrFS = sFiles.split("|") | |
var arrDS = sDS.split("|") | |
for (var i = 0; i < arrFS.length; ++i) { | |
var img = document.createElement("img") | |
img.src = arrDS[sPath-1] + arrFS[i] | |
document.body.appendChild(img) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For NinjaKit (Safari)