dm5.com image list

Lists all images in a chapter/volume

Version vom 08.12.2016. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name               dm5.com image list
// @description        Lists all images in a chapter/volume
// @name:zh-TW         DM5 漫畫列表
// @description:zh-TW  列出章節內所有圖片
// @version            1.0.0
// @include            /^http\:\/\/.*?\.dm5\.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
// 

var imgList=""; 
function lp(p, list, count, callback) { $.ajax( { url: 'chapterfun.ashx', data: { cid: DM5_CID, page: p, key: $("#dm5_key").val(), language: 1, gtk: 4 }, type: 'GET', success: function (data) { eval(data); if(p>count) { callback(list); } else { document.body.innerHTML = "Loading Page " + p + "/" + count; lp(p+1, list+'<img src="' + d[0] + '"><br>', count, callback); } } }) } imgList=lp(1,"",DM5_IMAGE_COUNT, function(data) { document.body.innerHTML = data; });