Skip to content

AtlanticRethink/mobile-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

mobile-check

A function to check whether a page is viewed from a mobile device. Returns true or false. Add to the top of your JavaScript and use the following condition check:

if (window.mobilecheck() === false) { ... }

Change the Boolean value in the if condition to run code only when page is viewed from mobile browser.

About

Function to check whether a page is viewed from a mobile device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published