Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Share Openly</title>
- </head>
- <body onload="redirectUser()">
- </body>
- </html>
- <script>
- function redirectUser()
- {
- var uagent = navigator.userAgent.toLowerCase();
- if (uagent.search("iphone") > -1)
- window.location = "http://google.com";
- else
- window.location = "http://wikipedia.com";
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement