cleaning up

10.3.x-maintenance
cTn 2013-06-19 13:55:20 +02:00
parent a42a464d1f
commit d27660492e
2 changed files with 5 additions and 5 deletions

View File

@ -11,9 +11,9 @@ chrome.runtime.getBackgroundPage(function(result) {
// OS detection
var OS = "Unknown";
if (navigator.appVersion.indexOf("Win") != -1) OS = "Windows";
if (navigator.appVersion.indexOf("Mac") != -1) OS = "MacOS";
if (navigator.appVersion.indexOf("X11") != -1) OS = "UNIX";
if (navigator.appVersion.indexOf("Linux") != -1) OS = "Linux";
else if (navigator.appVersion.indexOf("Mac") != -1) OS = "MacOS";
else if (navigator.appVersion.indexOf("X11") != -1) OS = "UNIX";
else if (navigator.appVersion.indexOf("Linux") != -1) OS = "Linux";
var timers = new Array();