if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) )
{
var url = "http://m.mysite.com/";
$(location).attr('href',url);
}
Bunu mu soruyorsun acaba?
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) )
{
var url = "http://m.mysite.com/";
$(location).attr('href',url);
}