77mh.com image list

Lists all images in a chapter/volume

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name               77mh.com image list
// @description        Lists all images in a chapter/volume
// @name:zh-TW         77mh 漫畫列表
// @description:zh-TW  列出章節內所有圖片
// @version            1.1.2
// @include            /^http\:\/\/.*?\.77mh\.com\//
// @author             willy_sunny
// @license            GPL version 2 or any later version; http://www.gnu.org/licenses/gpl-2.0.txt
// @namespace https://greasyfork.org/users/9968
// ==/UserScript==
//
// ************************
// Own Variable Declaration
// ************************
// imgList: the output result
// 
// *************************************************
// Site function/variable Declearation
// The manga's page list and info are stored inside
// the 8 hash letter js file like this:
// http://css.177mh.com/coojs/201411/f529f09a.js
// *************************************************
// However, the js file that actually processes
// it is located inside another js file as:
// http://css.177mh.com/img_v1/v17ql_cont_v150213.js
// *************************************************
// The nextLink_ba variable is the next page link
// *************************************************
//
// The imgList code is a direct modification on the above mentioned js file
// "img.src=img_qianz+arr[page];"
// This should be quite obvious, just use arr.length to get the total page count
// And just write a loop, poof, done.

var imgList=""; // declear image list
for(var i=0;i<arr.length;i++){ // looping pages
    imgList+='<img src="'+img_qianz+arr[i]+'"><br>'; // addes pages to the list
}
document.write(imgList+nextLink_ba); // output images + next chapter link