From: eldy <> Date: Sat, 14 Aug 2004 16:21:41 +0000 (+0000) Subject: Add a comment for using awstats_misc_tracker with pslogger.php X-Git-Tag: AWSTATS_6_3_RELEASE~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb5fd7a54e6ddb507f9d28e9a9b9c87d5ccc3136;p=thirdparty%2FAWStats.git Add a comment for using awstats_misc_tracker with pslogger.php --- diff --git a/wwwroot/js/awstats_misc_tracker.js b/wwwroot/js/awstats_misc_tracker.js index 398f6da5..61b0f023 100644 --- a/wwwroot/js/awstats_misc_tracker.js +++ b/wwwroot/js/awstats_misc_tracker.js @@ -14,7 +14,7 @@ // // This allows AWStats to be enhanced with some miscellanous features: // - Screen size detection (TRKscreen) -// - Window size detection (TRKwinsize) +// - Browser size detection (TRKwinsize) // - Screen color depth detection (TRKcdi) // - Java enabled detection (TRKjava) // - Macromedia Director plugin detection (TRKshk) @@ -25,7 +25,8 @@ // - Acrobat PDF plugin detection (TRKpdf) //------------------------------------------------------------------- - +// If you use pslogger.php to generate your log, you can change this line with +// var awstatsmisctrackerurl="pslogger.php?loc=/js/awstats_misc_tracker.js"; var awstatsmisctrackerurl="/js/awstats_misc_tracker.js"; function awstats_setCookie(TRKNameOfCookie, TRKvalue, TRKexpirehours) { @@ -84,7 +85,7 @@ if (window.location.search == "") { var TRKwin = ((TRKagt.indexOf("win")!=-1) || (TRKagt.indexOf("32bit")!=-1)); var TRKmac = (TRKagt.indexOf("mac")!=-1); - // Detect the window internal width and height + // Detect the browser internal width and height if (document.documentElement && document.documentElement.clientWidth) TRKwinsize = document.documentElement.clientWidth + 'x' + document.documentElement.clientHeight; else if (document.body)