8Comic 漫畫列表

列出章節內所有圖片

目前為 2015-03-26 提交的版本,檢視 最新版本

// ==UserScript==
// @name               8Comic.com image list
// @description        Lists all images in a chapter/volume
// @name:zh-TW         8Comic 漫畫列表
// @description:zh-TW  列出章節內所有圖片
// @version            1.1.1
// @include            /^http\:\/\/.*?\.comicvip\.com\/show\/cool-/
// @author             willy_sunny
// @license            GPL version 2 or any later version; http://www.gnu.org/licenses/gpl-2.0.txt
// @namespace https://gf.qytechs.cn/users/9968
// ==/UserScript==
//
// ************************
// Own Variable Declaration
// ************************
// imgList: the output result
// 
// ***********************************
// Site function/variable Declearation
// many can be found in the nview.js
// http://new.comicvip.com/js/nview.js
// ***********************************
//
// ps: total page count, it's also auto stored when nview.js was done loading
//
// The imgList code is a direct modification on the above mentioned js file
// "ge('TheImg').src='http://img'+ss(c,4,2)+'.8comic.com/'+ss(c,6,1)+'/'+ti+'/'+ss(c,0,4)+'/'+nn(p)+'_'+ss(c,mm(p)+10,3,f)+'.jpg';"
// since we can tell that's the line the server use to extract image, all you need to do is just fiddle with it so that into a loop
// 

var imgList = ""; 
for (var p = 1; p <= ps; p++) { 
    imgList = imgList + '<img src="http://img' + ss(c, 4, 2) + '.8comic.com/' + ss(c, 6, 1) + '/' + ti + '/' + ss(c, 0, 4) + '/' + nn(p) + '_' + ss(c, mm(p) + 10, 3, f) + '.jpg"><br><br>';
}
imgList += '<a href="#" onClick="jv(ni)">Next >>'; // this enables the user to click the next chapter link on the bottom to follow to the next chapter
document.write(imgList); // outputs the list

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址