Greasy Fork is available in English.

Manga OnlineViewer

Shows all pages at once in online view for these sites: Alandal, Asura Scans, Batoto, BilibiliComics, ComiCastle, Comick, Dynasty-Scans, INKR, InManga, KLManga, Leitor, LHTranslation, Local Files, LynxScans, MangaBuddy, MangaDemon, MangaDex, MangaFox, MangaHere, Mangago, MangaHosted, MangaHub, MangasIn, MangaKakalot, MangaNelo, MangaNato, MangaOni, MangaPark, Mangareader, MangaSee, Manga4life, MangaTigre, MangaToons, MangaTown, ManhuaScan, ManhwaWeb, MangaGeko.com, MangaGeko.cc, NaniScans, NineM

< Manga OnlineViewer 피드백

질문/댓글

§
작성: 2014-12-22

[Feature request] Option to automatically download zip file

As said in title. Currently we do not have an option to automatically download the generated zip file. It would be awesome to have the feature implemented :)

Currently I've been using something like ::
// Patched generateZip()
function generateZip() {
if (cache.downloadFiles != cache.Data.quant) {
setTimeout(generateZip, 2000);
console.log('Waiting for Files to Downlaod ' + cache.downloadFiles + ' of ' + cache.Data.quant);
} else {
var blobLink = document.getElementById('blob');
try {
blobLink.download = 'MangaOnlineViewer.zip';
blobLink.href = window.URL.createObjectURL(cache.zip.generate({
type: 'blob'
}));
console.log('Download Ready');
//New JS
var clickEvent = document.createEvent('MouseEvents');
var firstZipFile = document.getElementById('blob');
clickEvent.initEvent('click', true, true);
firstZipFile.dispatchEvent(clickEvent);
console.log('Autodownloaded download');

to implement (part of) the feature.

Thanks,
btw, the Manga OnlineViewer is an awesome script !!!

Tago개발자
§
작성: 2014-12-23

It's a simple tweak to add, done it.

댓글 남기기

댓글을 남기려면 로그인하세요.