Completed

Fazer função Js que detecte se a pessoa está num desktop

Published on the July 10, 2016 in IT & Programming

About this project

Open

Temos em nosso site uma função JS antiga que detecta se a pessoa está num mobile,
hoje ela está assim:

function isMobile()
{
    var userAgent = navigator.userAgent.toLowerCase();
    if( userAgent.search(/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i)!= -1 )
        return true;
}



Precisamos algo ao contrário, que diga se a pessoa está num desktop e assumimos que o resto é mobile.

Category IT & Programming
Subcategory Web development
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
Roles needed Developer

Delivery term: July 11, 2016

Skills needed

Other projects posted by L.