News for hackers. Stuff that matters.
Re:How I recorded user behaviour on my competitor’s websites by SmellyGeekBoy on Thursday August 23, 2018 @06:10AM (#17825985)
Why should anything be able to change the behaviour of the back button? If I click back it should take me back to the previous URL. If it breaks your one page 200MB JavaScript masterpiece then tough luck, come up with your own navigation.
Re:How I recorded user behaviour on my competitor’s websites by brlewis on Thursday August 23, 2018 @07:48AM (#17826406)
Suppose we did what you said, and the back button only ever took you back to the previous URL.

I could still make a JS app that, on your first interaction with the page, moved you forward from https://example.com/ to https://example.com/#home. Then it sets a variable such that when you go back to https://example.com/ it shows a fake SERP. This is not an easy problem to solve.

Re:How I recorded user behaviour on my competitor’s websites by user3359 on Thursday August 23, 2018 @07:42PM (#17831538)
This is a redirect, and would be trivial to detect and override at the browser level.

Actually, the back button should auto negate redirect pages