AllInOneDownloader

Match and then run a proper script

当前为 2022-09-23 提交的版本,查看 最新版本

// ==UserScript==
// @name         AllInOneDownloader
// @namespace    AllInOne
// @version      0.1
// @description  Match and then run a proper script
// @homepage     https://github.com/Timesient/manga-download-scripts
// @author       Timesient
// @license      GPL-3.0
// @match        https://www.alphapolis.co.jp/manga/official/*/*
// @match        https://viewer.bookwalker.jp/*/*/viewer.html*
// @match        https://viewer-subscription.bookwalker.jp/*/*/viewer.html*
// @match        https://comic-boost.com/viewer.html*
// @match        https://comic-days.com/*/*
// @match        https://shonenjumpplus.com/*/*
// @match        https://kuragebunch.com/*/*
// @match        https://www.sunday-webry.com/*/*
// @match        https://comicbushi-web.com/*/*
// @match        https://tonarinoyj.jp/*/*
// @match        https://comic-gardo.com/*/*
// @match        https://pocket.shonenmagazine.com/*/*
// @match        https://comic-zenon.com/*/*
// @match        https://comic-trail.com/*/*
// @match        https://comic-action.com/*/*
// @match        https://viewer.comic-earthstar.jp/viewer.html*
// @match        https://comic-fuz.com/manga/viewer/*
// @match        https://www.comico.jp/*
// @match        https://comic-walker.com/viewer/*
// @match        https://book.dmm.com/*
// @match        https://firecross.jp/reader/*
// @match        https://ganma.jp/*
// @match        https://read.amazon.co.jp/manga/*
// @match        https://kansai.mag-garden.co.jp/assets/files/*
// @match        https://mangacross.jp/comics/*/*
// @match        *://r-cbs.mangafactory.jp/*/*/*
// @match        *://binb-cbs.mangafactory.jp/*/*/*
// @match        https://seiga.nicovideo.jp/watch/*
// @match        https://novema.jp/comic/serial/*/*/*
// @match        https://piccoma.com/web/viewer/*/*
// @match        https://comic.pixiv.net/*
// @match        https://www.comicnettai.com/*/viewer.html*
// @match        https://pash-up.jp/*/viewer.html*
// @match        https://gammaplus.takeshobo.co.jp/manga/*
// @match        https://storia.takeshobo.co.jp/_files/*
// @match        https://comic-meteor.jp/ptdata/*
// @match        https://www.123hon.com/vw/*
// @match        https://www.comic-valkyrie.com/samplebook/*
// @match        https://manga.zerosumonline.com/online/*
// @match        https://comic-polaris.jp/ptdata/*
// @match        https://manga-mee.jp/trial_reading/*
// @match        https://to-corona-ex.com/episodes/*
// @match        https://urasunday.com/title/*
// @match        https://comic.webnewtype.com/contents/*/*
// @match        https://weloma.art/*/*/
// @match        https://yanmaga.jp/comics/*/*
// @match        https://yawaspi.com/*/comic/*
// @match        https://www.yomonga.com/*
// @match        https://web-ace.jp/youngaceup/contents/*/episode/*
// @require      https://unpkg.com/[email protected]/dist/axios.min.js
// @require      https://unpkg.com/[email protected]/dist/jszip.min.js
// @require      https://unpkg.com/[email protected]/dist/FileSaver.min.js
// @require      https://unpkg.com/[email protected]/crypto-js.js
// @require      https://gf.qytechs.cn/scripts/451810-imagedownloaderlib/code/ImageDownloaderLib.js?version=1096733
// @require      https://gf.qytechs.cn/scripts/451811-publusconfigdecoder/code/PublusConfigDecoder.js?version=1096709
// @require      https://gf.qytechs.cn/scripts/451812-publuscoordsgenerator/code/PublusCoordsGenerator.js?version=1096723
// @require      https://gf.qytechs.cn/scripts/451813-publusnovelpage/code/PublusNovelPage.js?version=1096725
// @require      https://gf.qytechs.cn/scripts/451814-publuspage/code/PublusPage.js?version=1096727
// @grant        GM_xmlhttpRequest
// @grant        window.onurlchange
// @grant        unsafeWindow
// ==/UserScript==

(async function(axios, JSZip, saveAs, CryptoJS, ImageDownloader, PublusConfigDecoder, PublusCoordsGenerator, PublusNovelPage, PublusPage) {
  'use strict';
  
  // map from host to script
  const scriptDict = {
    'www.alphapolis.co.jp': '',
    'viewer.bookwalker.jp': '',
    'viewer-subscription.bookwalker.jp': '',
    'comic-boost.com': '',
    'comic-days.com': '',
    'shonenjumpplus.com': '',
    'kuragebunch.com': '',
    'www.sunday-webry.com': '',
    'comicbushi-web.com': '',
    'tonarinoyj.jp': '',
    'comic-gardo.com': '',
    'pocket.shonenmagazine.com': '',
    'comic-zenon.com': '',
    'comic-trail.com': '',
    'comic-action.com': '',
    'viewer.comic-earthstar.jp': '',
    'comic-fuz.com': '',
    'www.comico.jp': '',
    'comic-walker.com': '',
    'book.dmm.com': '',
    'firecross.jp': '',
    'ganma.jp': '',
    'read.amazon.co.jp': '',
    'kansai.mag-garden.co.jp': '',
    'mangacross.jp': '',
    'r-cbs.mangafactory.jp': '',
    'binb-cbs.mangafactory.jp': '',
    'seiga.nicovideo.jp': '',
    'novema.jp': '',
    'piccoma.com': '',
    'comic.pixiv.net': '',
    'www.comicnettai.com': '',
    'pash-up.jp': '',
    'gammaplus.takeshobo.co.jp': '',
    'storia.takeshobo.co.jp': '',
    'comic-meteor.jp': '',
    'www.123hon.com': '',
    'www.comic-valkyrie.com': '',
    'manga.zerosumonline.com': '',
    'comic-polaris.jp': '',
    'manga-mee.jp': '',
    'to-corona-ex.com': '',
    'urasunday.com': '',
    'comic.webnewtype.com': '',
    'weloma.art': '',
    'yanmaga.jp': '',
    'yawaspi.com': '',
    'www.yomonga.com': '',
    'web-ace.jp': '',
  }

  // get and run the script
  GM_xmlhttpRequest({
    method: 'GET',
    url: scriptDict[window.location.host],
    onload: res => eval(res.response)
  });

})(axios, JSZip, saveAs, CryptoJS, ImageDownloader, PublusConfigDecoder, PublusCoordsGenerator, PublusNovelPage, PublusPage);

QingJ © 2025

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