Hacker News new | past | comments | ask | show | jobs | submit login

Damn, why are TechCrunch hijacking the browsers back button behaviour? I had to close down my browser instance complete and then open a new one to come back to this thread. Awful.



If you scroll down below comments section URL changes to https://techcrunch.com/ then if you press <- button in browser it changes to previous: https://techcrunch.com/2020/05/08/microsoft-surface-go-2-rev... If you do it 6 times you'll have to "go back" six times. Maybe not back button hijacking, but outcome's the same, and it's pretty annoying I admit.


TechCrunch apparently force a 307 Temporary Redirect to some advertising.com domain first :/


It's not directly an issue with TechCrunch but the lack of an api that does not push a history state OR pollute your history.

Ie you can't change the visible URL without at least one of these happening (and it's infuriating)!


Isn't that what the `History.replaceState()` method achieves?

https://developer.mozilla.org/en-US/docs/Web/API/History/rep...


Nope, it will result in a history entry added to your history (even if nothing is added to the immediate backwards forwards history).


I believe it changes the URL when you move on to the next article


Hmm, it’s stopped happening for me now.


TBH, Maybe HN should just avoid sites like TC, and stick to, say, https://www.tomsguide.com/reviews/microsoft-surface-go-2


another reason to use Firefox


How's that? I'm using Firefox and seeing the same annoying back button behaviour.


Try right-clicking on the back button.


You can also right-click to display previously viewed pages in Chrome.


I blame browsers for implementing such an obnoxious anti-feature.


It is a great feature. Idiots doing this is at fault.


Humans don't kill people, guns do.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: