Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
- {
- var answer = confirm ("Go to mobile site?")
- if (answer)
- window.location="mobile"
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement