77mh.com image list

Lists all images in a chapter/volume

Από την 28/03/2015. Δείτε την τελευταία έκδοση.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==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