Open xerance opened 4 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'
}
@einstein95 not working anymore
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'
}
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.