News for hackers. Stuff that matters.
Re:Microsoft Surface Go 2 review by GEBBL on Monday May 11, 2020 @05:47AM (#23140412)
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.
Re:Microsoft Surface Go 2 review by radoslawc on Monday May 11, 2020 @06:12AM (#23140541)
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.
Re:Microsoft Surface Go 2 review by matijs on Monday May 11, 2020 @06:13AM (#23140554)
TechCrunch apparently force a 307 Temporary Redirect to some advertising.com domain first :/
Re:Microsoft Surface Go 2 review by emilfihlman on Monday May 11, 2020 @06:20AM (#23140592)
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)!

Re:Microsoft Surface Go 2 review by fiskfiskfisk on Monday May 11, 2020 @06:37AM (#23140681)
Isn't that what the `History.replaceState()` method achieves?

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

Re:Microsoft Surface Go 2 review by emilfihlman on Thursday May 14, 2020 @01:40PM (#23182728)
Nope, it will result in a history entry added to your history (even if nothing is added to the immediate backwards forwards history).
Re:Microsoft Surface Go 2 review by bigp3t3 on Monday May 11, 2020 @05:55AM (#23140450)
I believe it changes the URL when you move on to the next article
Re:Microsoft Surface Go 2 review by GEBBL on Monday May 11, 2020 @05:59AM (#23140474)
Hmm, it’s stopped happening for me now.
Re:Microsoft Surface Go 2 review by Chris2048 on Monday May 11, 2020 @07:05AM (#23140848)
TBH, Maybe HN should just avoid sites like TC, and stick to, say, https://www.tomsguide.com/reviews/microsoft-surface-go-2
Re:Microsoft Surface Go 2 review by postexitus on Monday May 11, 2020 @06:15AM (#23140563)
another reason to use Firefox
Re:Microsoft Surface Go 2 review by vimslayer on Monday May 11, 2020 @06:20AM (#23140601)
How's that? I'm using Firefox and seeing the same annoying back button behaviour.
Re:Microsoft Surface Go 2 review by notRobot on Monday May 11, 2020 @06:29AM (#23140640)
Try right-clicking on the back button.
Re:Microsoft Surface Go 2 review by zone411 on Monday May 11, 2020 @06:44AM (#23140728)
You can also right-click to display previously viewed pages in Chrome.
Re:Microsoft Surface Go 2 review by nfoz on Monday May 11, 2020 @06:18AM (#23140579)
I blame browsers for implementing such an obnoxious anti-feature.
Re:Microsoft Surface Go 2 review by eknkc on Monday May 11, 2020 @06:57AM (#23140801)
It is a great feature. Idiots doing this is at fault.
Re:Microsoft Surface Go 2 review by jablala on Monday May 11, 2020 @06:41AM (#23140704)
Humans don't kill people, guns do.