vain/lariza

"Go back" does not always work

Closed this issue · 3 comments

vain commented

Occasionally, when I hit the "back" button, I end up on the same page. I have to hit the button twice -- really fast.

This happens in every WebKit browser and lariza does not do any history management at all, so it's not my fault. It really sucks, though. Must be fixed or worked around.

vain commented

I've implemented manual history handling. With that, lariza stores every URI in a linked list and you can navigate forward/backward in that list. This solves the problem mentioned above.

But this breaks other things. Some obscure websites (namely Icinga and Nagios) use JavaScript "links": <a href="javascript:window.history.go(-2)">foo</a> This, of course, does not work if WebKit is not maintaining any history... Gosh, the web sucks.

I'm currently thinking about some "hybrid" history... Or I'll go and try to fix the original bug in WebKit.

vain commented

How to reproduce:

vain commented

No longer relevant since we're now using WebKit2.