tmc_angel

Mobile JS

Dec 14th, 2011
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. if (navigator.userAgent.search(/(windows\smobile|windows\sce|iphone|ipod|midp|symbian|series\s60|s60|nokia|android|Android|blackberry)/gi) > -1) { top.location.href = 'http://mysite.ru' }
  3. </script>
RAW Paste Data