MX Mobile Device Detect


Max Lazar

3rd Party (Free)

Creative Commons Attribution Non-Commercial Share Alike

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.


  • jQuery for the Control Panel

Add-On Type(s)



MX Mobile Detect is a small plugin that detects if a template was requested by a Mobile Device. You also can detect Screen Resolution!


{if "{exp:mobile_detect:device}" == "mobile"}
Greetings mobile visitor!
{if "{exp:mobile_detect:device}" == "not_mobile"}
Greetings desktop/laptop visitor!


{exp:mobile_detect:redirect location=""} 
{exp:mobile_detect:redirect location="" redirect="not_mobile"} 
{exp:mobile_detect:redirect ipad="" kindlefire=""} 


    {if device == "ipad"}
        Hello Steve
    {if device == "android" }
        Hello Bender
    {if not_mobile}
        Hello ... Bill ???

{exp:mobile_detect:screen_detect }

{exp:mobile_detect:screen_detect } 
{if {screen_width} > 1024}You have desktop{/if} 
{news_image}<img scr="/image/{screen_size}/{file_name}">{/news_image}

MX Mobile Device Detect Links

This entry was created November 19, 2009, 3:43 pm.
This entry was last updated July 19, 2012, 11:07 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

6 Reviews:

Big Bad Wolf 07.29.14

Rating - {addon_rating_average}

Working well for iOS devices smartphone and tablets. But not working for Android Tablets. All Android tablets are detected as mobile. Targetting by resolution is clearly not a solution today as all tablets tend to go HD.

Geoff Towle 03.27.12

Rating - {addon_rating_average}

Thanks for this excellent plugin - extremely helpful!

Zac Gordon 02.19.12

Rating - {addon_rating_average}

Plugin works great and does just what it says.  Love it’s flexibility to say ipad=“no” to not redirect for iPads.

If you want to turn off mobile redirect it let’s you do that as well. 

Great job Max!

JCDerrick 07.09.11

Rating - {addon_rating_average}

This is an awesome add-on and Max has done a great job with it. I still am having trouble getting it to recognize my iPad 1, but other than that this is a great plugin for recognizing mobile devices. The latest version with device recognition takes it to a whole new level!

Narration 04.15.11

Rating - {addon_rating_average}

Max,  you’ve done it again, made something very useful.

I’m also intrigued about the side-usage of handling ie6.

Thank you.

manimac79 12.28.10

Rating - {addon_rating_average}

easy and useful plugin! thanks Max :)