(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-5276656-4', 'mobileesp.com'); ga('send', 'pageview');

MobileESP: Ported to Classic ASP (VBscript)!

Hi, folks —

I’ve been remiss in sharing this good news…

A few weeks ago, I received an email from Miguel Barrero that he has ported MobileESP to Classic ASP — which means classic VBscript. So for you folks who work at places still using Classic ASP to pump out the pages, you can now also detect and optimize your web sites for mobile devices! Who says the iPhone and Android can’t get all snuggly with VBscript??  🙂

To download your copy of MobileESP for Classic ASP (VBscript), point your browser to:


Please note that Miguel is maintaining the Classic ASP code in his spare time, so the VBscript library may be a little bit behind changes made to the main MobileESP code libraries.

Thanks again, Miguel!



Owner of the MobileESP project. For the latest source code downloads, visit: https://github.com/ahand/mobileesp

Posted in Projects Using MobileESP
2 comments on “MobileESP: Ported to Classic ASP (VBscript)!
  1. John Joyce says:

    Just FYI – I grabbed this code yesterday and noticed that around line 248 the user agent code needs to be re-commented so it works properly.

    it says this:

    248: ‘useragent = Request.ServerVariables(“HTTP_USER_AGENT”)
    249: useragent = “Mozilla/5.0 (Linux; U; Android 3.0; xx-xx; Xoom Build/HRI39) AppleWebKit/525.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2”

    Uncomment line 248 and comment out line 249 to get it working.

  2. Miguel Barrero says:

    Thanks John Joyce, it has been corrected!