Greasy Fork is available in English.

KissAnimeList

Integrates MyAnimeList into various sites, with auto episode tracking.

< Σχολιασμός για τον κώδικα KissAnimeList

Ερώτηση/σχόλιο

§
Δημοσιεύτηκε: 07/06/2018

Page jumps upwards a single time when on a new chapter on Kissmanga

So I've been experiencing a peculiar issue since version 0.92.0.

Every time I click on the arrow button to go to the next chapter, all is fine. The script updates MAL like usual, everything seems fine. However, as I'm scrolling down while reading the chapter, I notice that the web page will jump upwards back to the top. It will consistently do this every single time I click on a new chapter, which interrupts my reading.

I went back through previous versions, and I noticed that this issue is absent in version 0.91.5 and earlier, and didn't start happening until 0.92.0.

lolamtischΔημιουργός
§
Δημοσιεύτηκε: 08/06/2018
Επεξεργάστηκε: 08/06/2018

@DeeeFoo Could you test if replacing line 387 and 388 with this code

                        if(!isNaN(page)){
                           window.location.hash = '';
                           window.location.hash = hash;
                        }

fixes the probem. If yes i would add it to the next release.

And this is a new Feature since 0.92.0. That it resumes to the last readed page in the chapter if you open the link over the resumelink in your mangalist on mal or in miniMAL. But it needs some more work here and there.

§
Δημοσιεύτηκε: 08/06/2018

Hi,

Thanks for the fast response!

Yes, it does seem to be working fine again. I'm on version 0.92.4, and I changed the codes in those lines to look exactly like your screenshot.

Thanks for continuing to support this amazing script!

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.