ameboide / webcomic_reader

Webcomic Reader userscript at http://userscripts.org/scripts/show/59842
76 stars 68 forks source link

Oglaf.com partly broken #26

Open ghost opened 9 years ago

ghost commented 9 years ago

If a story has more than one pages, they are skipped and the script will move to the next story.

ameboide commented 9 years ago

It seems to work fine for me, can you post a link where this happens? Also, what browser are you using?

ghost commented 9 years ago

Testing the script out again, I managed to work out some details.

The problem does not occur if you pick any story from the archives and keep going forward. However, if you go backwards, past the initial point from which you started, multi-page stories will act as if they were single-page stories.

I can't test if multi-page stories work correctly if starting from the front page, as the latest story is a single-page one.

I'm using Firefox 36.

ameboide commented 9 years ago

The site links only to the first page of the previos story, so when going back it doesn't know if there were any other pages in between, and going forward again will take you through the visited pages instead of loading everything again. The workaroud would be to only read forward, and if you sart by going backwards and want to start reading from there, reload the page so it starts following the forward links. I'll take a look and see if there's any better solution...