77mh.com image list

Lists all images in a chapter/volume

Verze ze dne 28. 03. 2015. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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\/show\//
// @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