Am I on mobile or not ?!

How to check if you are on mobile or not :


function GetMobileOrNot() {
var check = false;
  (function ... Code from here);
return check;

$( document ).ready(function() {
if( GetMobileOrNot() == true ){//Do something}
else{//Do something else}
Ps: And something more here


Postări populare de pe acest blog

5Inch HDMI LCD for RPI 800x480

DevExpress Theme Changer ...

.NET Core Dependency Injection with Func as constructor parameter