MapoMagpie / eh-view-enhance

Manga Viewer + Downloader, Focus on experience and low load on the site. Support: e-hentai.org | exhentai.org | pixiv.net | 18comic.vip | nhentai.net | hitomi.la | rule34.xxx | danbooru.donmai.us | gelbooru.com | twitter.com
MIT License
363 stars 12 forks source link

Hentai Nexus Image Bug #62

Closed ty5e3a45 closed 5 months ago

ty5e3a45 commented 5 months ago

Script worked great on HentaiNexus for a couple of days, but suddenly a bug appeared. Seem to have started occurring when they implemented downloads, though not sure if related to bug.

Describe the bug When attempting to use the user-script, images are displayed with error code Error: fetch bit image url error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data. If attempting to use regardless, images appear at a low resolution.

Browser And Version Firefox 126.0.1-1

Log Error code when opening a book's profile page: Source map error: Error: NetworkError when attempting to fetch resource. Resource URL: moz-extension://{redacted}/userscripts/E-HENTAI-VIEW-ENHANCE.user.js?id={redacted} Source Map URL: hammer.min.js.map. Error code which occurs for each image when attempting to use script: EHVP:fetch image error, try times: 1, error: Error: fetch big image url error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data.

Screenshots https://i.ibb.co/vwpV3HX/screen.png

MapoMagpie commented 5 months ago

Looks like they updated the decryption function reader.min.js?r=22, I'll fix this.

MapoMagpie commented 5 months ago

fix: hentainexus decryption