mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
prepare for PR to gh-pages
This commit is contained in:
parent
54118335a8
commit
cbd90a176b
22
index.html
22
index.html
@ -326,14 +326,24 @@
|
||||
if (paramString) {
|
||||
const params = paramString.split('&');
|
||||
const obj = params.reduce((acc, cur, i) => {
|
||||
const [key, value] = cur.includes('=') ? cur.split('=') : [cur, null]
|
||||
acc[key] = value
|
||||
return acc
|
||||
}, {})
|
||||
return obj
|
||||
const [key, value] = cur.includes('=') ? cur.split('=') : [cur, null];
|
||||
acc[key] = value;
|
||||
return acc;
|
||||
}, {});
|
||||
return obj;
|
||||
}
|
||||
return {}
|
||||
return {};
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-3767301-5']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user