Posted By

dottDesign on 04/29/10


Tagged

javascript redirect textmate browser


Versions (?)

Mobile Redirect


 / Published in: Other
 

  1. <script>
  2. if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/blackberry/i)))
  3. {
  4. location.href='http://morrisreynar.agentsite.mobi';
  5. }
  6. else {
  7. //location.href='http://www.morrisreynar.ca';
  8. }
  9. </script>

Report this snippet  

You need to login to post a comment.