odmarkj/JS-Detection
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
/* USAGE You'll have to set the mobile domain and the location of the script. */ <script type="text/javascript"> //CONFIGURATION var websitez_mobile_detection_api = { current_domain: document.domain, redirect_mobile_visitor: true, mobile_website_url: 'http://m.domain.com', insert_mobile_website_footer_override_link: true } </script> <script type="text/javascript" src="http://remotedomain.com/is_mobile.php"></script>
About
Client side JS that fetches server side PHP to detect mobile devices.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published