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

.NET Core Dependency Injection with Func as constructor parameter

Building Cross-Platform Desktop Apps with Electron.NET