Permalink
Browse files

fix for detection of Win7. Fix demo for opera 12

  • Loading branch information...
mr-troll committed Jun 15, 2012
1 parent 17129bb commit cea9452f24447c87bbf06e167de871de1d2bcc98
Showing with 4 additions and 4 deletions.
  1. +1 −1 browser_suggest_en.js
  2. +1 −1 browser_suggest_ru.js
  3. +1 −1 demo_bookmark_en.html
  4. +1 −1 demo_bookmark_ru.html
View
@@ -85,7 +85,7 @@ var browser_toolbar_init=function(){
windows='xp';
else if(navigator.userAgent.indexOf("Windows NT 6.0")>0)
windows='vista';
else if(navigator.userAgent.indexOf("Windows NT 7.0")>0)
else if(navigator.userAgent.indexOf("Windows NT 6.1")>0)
windows='seven';
else return;
View
@@ -85,7 +85,7 @@ var browser_toolbar_init=function(){
windows='xp';
else if(navigator.userAgent.indexOf("Windows NT 6.0")>0)
windows='vista';
else if(navigator.userAgent.indexOf("Windows NT 7.0")>0)
else if(navigator.userAgent.indexOf("Windows NT 6.1")>0)
windows='seven';
else return;
View
@@ -14,6 +14,6 @@
</head>
<body>
<a href="javascript:(function(){var%20ele=document.documentElement.appendChild(document.createElement('script'));ele.charset='windows-1251';ele.src='http://2s.ru/2012/t142_browser_suggest/browser_suggest_en.js';/*ele.parentNode.removeChild(ele);*/})()">BOOKMARK or click this with default browser check</a><br>
<a href="javascript:(function(){%20stable_browsers={'Explorer':10,'Firefox':25,'Opera':12,'Chrome':22};var%20ele=document.documentElement.appendChild(document.createElement('script'));ele.charset='windows-1251';ele.src='http://2s.ru/2012/t142_browser_suggest/browser_suggest.js';/*ele.parentNode.removeChild(ele);*/})()">BOOKMARK or click this with force browser check (stable_browsers={'Explorer':10,'Firefox':15,'Opera':12,'Chrome':22})</a>
<a href="javascript:(function(){%20stable_browsers={'Explorer':10,'Firefox':25,'Opera':15,'Chrome':22};var%20ele=document.documentElement.appendChild(document.createElement('script'));ele.charset='windows-1251';ele.src='http://2s.ru/2012/t142_browser_suggest/browser_suggest.js';/*ele.parentNode.removeChild(ele);*/})()">BOOKMARK or click this with force browser check (stable_browsers={'Explorer':10,'Firefox':25,'Opera':15,'Chrome':22})</a>
</body>
</html>
View
@@ -14,6 +14,6 @@
</head>
<body>
<a href="javascript:(function(){var%20ele=document.documentElement.appendChild(document.createElement('script'));ele.charset='windows-1251';ele.src='http://2s.ru/2012/t142_browser_suggest/browser_suggest_ru.js';/*ele.parentNode.removeChild(ele);*/})()">BOOKMARK or click this with default browser check</a><br>
<a href="javascript:(function(){%20stable_browsers={'Explorer':10,'Firefox':25,'Opera':12,'Chrome':22};var%20ele=document.documentElement.appendChild(document.createElement('script'));ele.charset='windows-1251';ele.src='http://2s.ru/2012/t142_browser_suggest/browser_suggest_ru.js';/*ele.parentNode.removeChild(ele);*/})()">BOOKMARK or click this with force browser check (stable_browsers={'Explorer':10,'Firefox':25,'Opera':12,'Chrome':22})</a>
<a href="javascript:(function(){%20stable_browsers={'Explorer':10,'Firefox':25,'Opera':15,'Chrome':22};var%20ele=document.documentElement.appendChild(document.createElement('script'));ele.charset='windows-1251';ele.src='http://2s.ru/2012/t142_browser_suggest/browser_suggest_ru.js';/*ele.parentNode.removeChild(ele);*/})()">BOOKMARK or click this with force browser check (stable_browsers={'Explorer':10,'Firefox':25,'Opera':15,'Chrome':22})</a>
</body>
</html>

0 comments on commit cea9452

Please sign in to comment.