Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hijacks the back button.


Oh damn, I should probably fix that


Found the stray pushState


another bug report: in chat, after somebody changes their nickname and you try to use tab completion on their name, it will use the original nickname for completion


oooh, nice one. I wonder if that was related to me using /sanick commands, or a more general bug.

Rekt is some versions behind the nightride.fm version of the site


Fixed


I still do not understand why this is even allowed. It is so annoying. It is not even hard to do. Can happen accidentally.


I mean you have to be able to do history manipulation if you want to have history to any meaningful changes you do via JS on a page (and you should make sure to adjust the URL as well so people can go back to that information).

But I agree, it should not be possible to prevent users from leaving back from the site.


You can easily spam the browser history using a redirect slide, effectively preventing users from leaving the page. No need for any JS, works even with active ad blockers. It’s relatively common on malicious sites.


Even on actually respectable newspapers. Spiegel Online for example has this in place...


Spegel Online also does "pay or okay" (pay or accept tracking), so maybe at some point it's time to re-evaluate their respectability.


Many media do this these days, it's become an industry standard.

And to be fair I do get the point why they are doing that, good journalism has to be financed somehow lest you end up with a situation like in Austria where corruption scandals involving government-paid ads wrecking the entire political establishment and media elites of the country [1].

[1] https://de.wikipedia.org/wiki/%C3%96VP-Korruptionsaff%C3%A4r...


> good journalism

lol

I do agree though, on a more general level: it does take money to produce those articles, authors gotta get paid.

However, IMHO, not at any cost.


Modern browsers will rarely store redirecting sites in the history stack AFAIK


Which browser does this? Would love to see the feature in action…


I came here to say the same. I don't like it.


rekt.browser


Ban such sites with loud music and hijacking back button




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

Search: