A mobile site on a budget

Came across this gem while looking through the code of a random site:

<script type="text/javascript">
       var mobile =
       if (mobile) { 
         window.location = "mobile_version/index_mobile.php";

While simple solutions are often the best, I’m not so sure about this one.

Posted on Monday, April 13, 2015 10:31 PM |

Like this? Share it!

No comments posted yet.

Post a comment
Please add 8 and 2 and type the answer here:
Remember me?
Ensure the word in this box says 'orange':