fuzetsu / manga-loader

standardize manga reading experience across the web
129 stars 61 forks source link

Is the NSFW version of this on sleazyfork dropped? #59

Open xerance opened 4 years ago

xerance commented 4 years ago

topic, saw that there was a nsfw version of this on sleazyfork, but it hasn't been updated in 3 years and multiple sites have issues and it doesn't even open on hitomi.la as an example despite saying its supported. is it dropped?

if it is, that's to bad, cause i like this version far better than the manga onlineviewer script.

p.s also tried to edit hitomi.la myself as a test based on the youtube video, but couldn't get it to work

inspect element on the image gave me: "#comicImages > img:nth-child(1)" and the next page: "#nextPanel"

so tried with: name: 'hitomi', match: "^http(s)?://hitomi.la/reader/[0-9]+.html", img: '#comicImages > img:nth-child(1)', next: '#nextPanel',

but still doesn't load the script when i open any gallery.

einstein95 commented 3 years ago

Here's a working replacement for hitomi.la

{
  name: 'hitomi',
  match: "^http(s)?://hitomi.la/reader/[0-9]+.html",
  img: '#comicImages img',
  next: '#comicImages img',
  numpages: function() {
    return W.our_galleryinfo.length;
  },
  curpage: function() {
    return parseInt(W.curPanel);
  },
  pages: function(url, num, cb, ex) {
    cb(W.url_from_url_from_hash(W.galleryinfo.id, W.our_galleryinfo[num-1]), num);
  },
  wait: '#comicImages img'
}
SilentSparrow02 commented 2 years ago

@einstein95 not working anymore

q1a2w3s4e5d6 commented 1 year ago

This should probably fix it.

{
  name: 'hitomi',
  match: "^http(s)?://hitomi.la/reader/[0-9]+.html",
  img: '#comicImages img',
  next: '#comicImages img',
  numpages: function() {
    return W.our_galleryinfo.length;
  },
  curpage: function() {
    return parseInt(W.curPanel);
  },
  pages: function(url, num, cb, ex) {
    cb(W.url_from_url_from_hash(W.galleryinfo.id, W.our_galleryinfo[num-1], 'webp', 'webp', 'a'), num);
  },
  wait: '#comicImages img'
}