0.3.0 • Published 4 years ago

metectjs v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

MetectJS

The MetectJS library to detect os and mobile devices

Add this code to your .html files

<script type="text/javascript" src="metect.js"></script>
<script type="text/javascript">
    metect({
  		window: function(){//This code runs when detects Windows OS}

  		mac: function(){//This code runs when detects Mac OS}
  	
  		linux: function(){//This code runs when detects Linux OS}
  
  		mobile: function(){//This code runs when detects mobile devices}
  
  		unix: function(){//This code runs when detects Unix OS}

      safari: function(){//This code runs when detects Safari browser}

      chrome: function(){//This code runs when detects Chromes browser}

      firefox: function(){//This code runs when detects Firefox browser}
      
      opera: function(){//This code runs when detects Opera browser}

      msie: function(){//This code runs when detects Microsoft Internet Explorer browser}
	    })

  //You can log the info of version, browser, os to the console by using medetect();
</script>
0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago