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

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 Winter 2026 batch! Applications are open till Nov 10

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

Search: