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

Disagree. I'm here looking for clean code to redirect Chrome users to this message.

After all this site claims "The website you WANTED to visit redirected you here." and yet it doesn't give any clues how to do that properly. And no, I'm not trusting user agent values.

If I find a valid and good way I'm completely onboard for redirecting.




Are you sarcastic? If so, I cannot tell.

<script> window.location.href = ´//whateverurlyouwant.com' </script>

Of course you can just do it server side as well with a simple header set by your webserver or by a backend language.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: