Skip to content

Commit

Permalink
Fix WhichBrowser API
Browse files Browse the repository at this point in the history
  • Loading branch information
niutech authored Jan 16, 2024
1 parent 02cc825 commit b22861b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compare/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
e|=(e&16&&({}.toString).toString().indexOf("\n")===-1)?32:0;p.push('e='+e);f|='sandbox' in d.createElement('iframe')?1:0;f|='WebSocket' in w?2:0;
f|=w.Worker?4:0;f|=w.applicationCache?8:0;f|=w.history && history.pushState?16:0;f|=d.documentElement.webkitRequestFullScreen?32:0;f|='FileReader' in w?64:0;
p.push('f='+f);p.push('r='+Math.random().toString(36).substring(7));p.push('w='+screen.width);p.push('h='+screen.height);var s=d.createElement('script');
s.src='https://backup.whichbrowser.net/rel/detect.js?' + p.join('&');d.getElementsByTagName('head')[0].appendChild(s);})();
s.src='https://api.whichbrowser.net/rel/detect.js?' + p.join('&');d.getElementsByTagName('head')[0].appendChild(s);})();
</script>
<meta name="application-name" content="HTML5test">
<link rel="apple-touch-icon" sizes="57x57" href="/images/icons/apple-touch-icon-57x57.png">
Expand Down

0 comments on commit b22861b

Please sign in to comment.