3 ms·
+1 I absolutely despise when sites do this. One scroll gesture and now I can't go back to the site I came from? Another common archetype for this behavior is s
by andrethegiant 13y ago
+1
I absolutely despise when sites do this. One scroll gesture and now I can't go back to the site I came from? Another common archetype for this behavior is sites that show a slideshow. I click through 20 slides, and now I can't get back to the page I came from. Webdevs: you can still have permalinks to each paragraph/slide/whatever without completely muddling the user's browser history! Use replaceState instead of pushState to mitigate this problem.
Browsers should evolve to account for this kind of abuse. Holding down the back button should present two options: One to list all the anchors you've been to on the current page (in this case, paragraphs on the page), and one list of your previous history stack that doesn't account for URL fragments/hashes.
- deleted 13y ago[deleted]
- taejo 13y ago> Browsers should evolve to account for this kind of abuse. Holding down the back button should present two options: One to list all the anchors you've been to on the current page (in this case, paragraphs on the page), and one list of your previous history stack that doesn't account for URL fragments/hashes. Chrome does this (as I discovered when trying to escape this page)