QUOTE(Waitugreat @ Oct 31 2024, 06:33)

I suspect it has something to do with the recent DOM changes on e-hentai, whatever this means.
https://e-hentai.org/news.phpOr maybe there was another change with the website.
Yeah, it's due to that.
You can fix it by replacing
CODE
!document.querySelector('#gdt .gdtl a[href] img[src]')
in line 25 with
CODE
!document.querySelector('#gdt a[href] div[title]')
and
CODE
for (const img of root.querySelectorAll('.gdtl a[href*="/s/"] > img[src]')) {
const m = /^[^#?]*?\/([\da-f]{40})-/.exec(img.src);
if (!m) {
continue;
}
const a = img.parentElement;
hashes.push({
hash: m[1],
url: a.href,
title: img.title || a.href,
});
}
in line 169-180 with
CODE
for (const a of root.querySelectorAll('#gdt a[href*="/s/"]')) {
const div = a.querySelector('div[title]');
if (!div) {
continue;
}
hashes.push({
hash: div.dataset.orghash,
url: a.href,
title: div.title || a.href,
});
}
Note you also need to add the
datatags cookie for it to work.