mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Merge pull request #405 from tkrotoff/remove-script-type
No need for type="text/javascript"
This commit is contained in:
commit
43169ce1da
@ -113,10 +113,10 @@ WebOS, Windows [Phone/Mobile], Zenwalk, ...
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script type="text/javascript" src="ua-parser.min.js"></script>
|
<script src="ua-parser.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
|
|
||||||
var parser = new UAParser();
|
var parser = new UAParser();
|
||||||
|
|
||||||
// by default it takes ua string from current browser's window.navigator.userAgent
|
// by default it takes ua string from current browser's window.navigator.userAgent
|
||||||
console.log(parser.getResult());
|
console.log(parser.getResult());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user