ccloli / E-Hentai-Downloader

Download E-Hentai archive as zip file
GNU General Public License v3.0
1.92k stars 140 forks source link

No longer works in Tampermonkey #309

Open possom2009 opened 1 month ago

possom2009 commented 1 month ago

I use Kiwi Browser on Android, it lets you use chrome web store plugins, for the last week and a half, the script has not worked. There's no options where they usually are on the page. I've deleted the script and reinstalled it, but that didn't fix the issue.

The problem seems to have started when Tapmermonkey updated.

Violentmonkey works but I'd prefer to use Tampermonkey as that is the one that has the all the scripts I use installed in it.

ccloli commented 1 month ago

Check if Kiwi Browser is updated to latest version, since the latest version extension may have issues on old version's browser.

If you've already updated, then it's probably a Tampermonkey issue, please consider feedback to Tampermonkey's author, or try the old version on Tampermonkey's offical site.

Running ViolentMonkey and Tampermonkey at the same time should be fine, it may lag your browser a bit, but at least it's functional.

ccloli commented 3 weeks ago

Probably related to https://github.com/ccloli/E-Hentai-Downloader/issues/312#issuecomment-2448203284 , other users using other scripts also has a similar problem, all of them are using Tampermonkey. As you said it works on ViolentMonkey, then I'm assuming it's an issue on Tampermonkey itself. Tampermonkey might fix the bug, let me know if it works for you now.

Pixmi commented 1 week ago

Same issue occurs on Firefox Developer 133.0b7 / Tampermonkey 5.3.2. Here is the console message:

Uncaught TypeError: can't access property "split", responseText.split(...)[1] is undefined
    onload moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:13731
    getAllPagesURL moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:13713
    initEHDownload moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:13969
    window["__f__m3ez7l9y.mn"]/</< moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:14764
    EventListener.handleEvent*window["__f__m3ez7l9y.mn"]/< moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:14737
    Pt https://exhentai.org/g/3119194/97c140423f/?p=1:10
    window["__f__m3ez7l9y.mn"]/< moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:1
    "__f__m3ez7l9y.mn" moz-extension://30ae0feb-3d87-4e1b-b590-228e17ad7ee2/userscripts/E-Hentai-Downloader.user.js?id=40058f24-8348-4002-9b35-9a2329dcd09c:1
    Pt https://exhentai.org/g/3119194/97c140423f/?p=1:10
    r https://exhentai.org/g/3119194/97c140423f/?p=1:85
    <anonymous> https://exhentai.org/g/3119194/97c140423f/?p=1:88
    _ https://exhentai.org/g/3119194/97c140423f/?p=1:22
97c140423f:13731:32

However, after installing Tampermonkey BETA 5.3.6216, it works fine.

ccloli commented 1 week ago

responseText.split(...)[1] is undefined

Make sure you've already updated to latest v1.35.4.

Pixmi commented 6 days ago

responseText.split(...)[1] is undefined

Make sure you've already updated to latest v1.35.4.

It's ok after updated.