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

Actually a better way would be be:

if (navigator.userAgent.contains('chrome')){ window.location.replace('https://www.mozilla.org/firefox/') }




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: