|
@@ -99,19 +99,19 @@
|
|
|
var agent = navigator.userAgent.toLowerCase();
|
|
|
var isMac = function () { return /macintosh|mac os x/i.test(navigator.userAgent); }();
|
|
|
if (agent.indexOf("win32") >= 0 || agent.indexOf("wow32") >= 0) {
|
|
|
- window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup32.exe')
|
|
|
+ window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup32.exe');
|
|
|
}
|
|
|
if (agent.indexOf("win64") >= 0 || agent.indexOf("wow64") >= 0) {
|
|
|
- window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup64.exe')
|
|
|
+ window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup64.exe');
|
|
|
}
|
|
|
if (isMac) {
|
|
|
- window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/googlechrome-mac.dmg')
|
|
|
+ window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/googlechrome-mac.dmg');
|
|
|
}
|
|
|
}
|
|
|
function getChromeVersion() {
|
|
|
var arr = navigator.userAgent.split(' ');
|
|
|
var chromeVersion = '';
|
|
|
- for (let i = 0; i < arr.length; i++) {
|
|
|
+ for (var i = 0; i < arr.length; i++) {
|
|
|
if (/chrome/i.test(arr[i])) chromeVersion = arr[i];
|
|
|
}
|
|
|
if (chromeVersion) {
|