diff --git a/Docs/src/chmlink.js b/Docs/src/chmlink.js index 4fac6af3..d76c824a 100644 --- a/Docs/src/chmlink.js +++ b/Docs/src/chmlink.js @@ -1,6 +1,5 @@ function FolderExists(fn) { - alert("testing for folder " + fn); /*@cc_on @*/ /*@if (@_jscript_version >= 5) try @@ -11,13 +10,11 @@ function FolderExists(fn) } catch(e) { } /*@end @*/ - alert("exception or old version"); return false; } function FileExists(fn) { - alert("testing for file " + fn); /*@cc_on @*/ /*@if (@_jscript_version >= 5) try @@ -27,13 +24,11 @@ function FileExists(fn) } catch(e) { } /*@end @*/ - alert("exception or old version"); return true; } function TryShellExec(fn) { - alert("trying to shell execute " + fn); /*@cc_on @*/ /*@if (@_jscript_version >= 5) try @@ -44,7 +39,6 @@ function TryShellExec(fn) } catch(e) { } /*@end @*/ - alert("exception or old version"); return false; } @@ -84,17 +78,13 @@ function parser(fn) re = /\//g; lfn = lfn.replace(re, "\\"); - alert("trying to open " + lfn); - if (FolderExists(lfn)) { - alert("folder exists, execing"); var objShell = new ActiveXObject("Shell.Application"); objShell.Open(lfn); } else if (FileExists(lfn)) { - alert("file exists, execing"); execed = false; htmlre = /\.html?$/; txtre = /\.txt$/; @@ -108,7 +98,6 @@ function parser(fn) lfn = lfn.replace(re, "/"); re = /\ /g; lfn = lfn.replace(re, "%20"); - alert("using normal method " + lfn); location.href = 'file:///' + lfn; } }