fuzetsu / manga-loader

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

Have to refresh the page for mangadex to work in waterfox #40

Open MammothJerk opened 6 years ago

MammothJerk commented 6 years ago

I seem to only have this problem in Waterfox, no problems with chromium or chrome.

basically when i open a chapter it shows the normal mangadex reader and i have to refresh the page for manga loader to run.

I would guess that it has something to do with when the page first loads the url is mangadex.org/chapter/ and then right away the url changes to mangadex.org/chapter/ / *

im not sure if a delay is needed somewhere or something but im not sure what to do to fix it.

Mangadex is re-doing their reader anyway https://mangadex.org/thread/13442/#post_90596 so idk if its worth fixing yet

GrieverV commented 6 years ago

As a workaround, you can set @run-at document-idle. Violentmonkey and Greasemonkey are likely affected, Tampermonkey should be fine.

I know nothing about JS so I'm not sure what the correct solution would be and whether or not this is an upstream bug with *monkey or firefox.

https://wiki.greasespot.net/Metadata_Block#.40run-at https://tampermonkey.net/documentation.php#_run_at