Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/28/2012 in all areas

  1. Here is my code, but i dont see what is giving it problems, it just keeps reloading on the PC site! <script type="text/javascript"> if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/Android/i)) ){ var newURL = "m." + window.location.host + window.location.pathname; location.href= "http://" + newURL; }else{ if(location.host ="mstratford.co.cc") {} }else{ var newURL = window.location.pathname; location.href="http://mstratford.co.cc/" + newURL;}}</script>
    1 point
×
×
  • Create New...