Commit 9f002385 authored by Nikolay Gromov's avatar Nikolay Gromov

Инлайновый JS в head: добавил детектирование ОС

parent b1424790
......@@ -6,3 +6,6 @@ if(/constructor/i.test(window.HTMLElement)||(function(p){return p.toString()==="
if(/*@cc_on!@*/false||!!document.documentMode)cth('ie');
if(!(/*@cc_on!@*/false||!!document.documentMode)&&!!window.StyleMedia)cth('edge');
if(!!window.chrome&&(!!window.chrome.webstore||!!window.chrome.runtime))cth('chrome');
if(~navigator.appVersion.indexOf("Win"))cth('windows');
if(~navigator.appVersion.indexOf("Mac"))cth('osx');
if(~navigator.appVersion.indexOf("Linux"))cth('linux');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment