How do I block safari users from my website?

Posted by user360322 on Stack Overflow See other posts from Stack Overflow or by user360322
Published on 2010-06-07T11:02:03Z Indexed on 2010/06/07 11:12 UTC
Read the original article Hit count: 112

Filed under:

I would like to block all users of Safari from visiting my flash game web site. I would like them to see a picture of someone being punched in the face instead of the games.

My understanding is that you can use javascript to do it, but I don't want to use some heavy framework like JQuery. Is there a way to do it in like a single line or two of javascript?

© Stack Overflow or respective owner

Related posts about JavaScript