#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 62.109.13.187 / Your IP : 216.73.216.11 [ Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28 System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : mosrembit ( 6064) PHP Version : 8.2.28 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/awstats/wwwroot/js/ |
Upload File : |
// awstats_misc_tracker.js
//-------------------------------------------------------------------
// You can add this file onto some of your web pages (main home page can
// be enough) by adding the following HTML code to your page body:
//
// <script type="text/javascript" src="/js/awstats_misc_tracker.js"></script>
// <noscript><p><img src="/js/awstats_misc_tracker.js?nojs=y" alt="" height="0" width="0" style="display: none" /></p></noscript>
//
// * This must be added after the <body> tag, not placed within the
// <head> tags, or the resulting tracking <img> tag will not be handled
// correctly by all browsers. Internet explorer will also not report
// screen height and width attributes until it begins to render the
// body.
//
// This allows AWStats to be enhanced with some miscellaneous features:
// - Screen size detection (TRKscreen)
// - Browser size detection (TRKwinsize)
// - Screen color depth detection (TRKcdi)
// - Java enabled detection (TRKjava)
// - Macromedia Director plugin detection (TRKshk)
// - Macromedia Shockwave plugin detection (TRKfla)
// - Realplayer G2 plugin detection (TRKrp)
// - QuickTime plugin detection (TRKmov)
// - Mediaplayer plugin detection (TRKwma)
// - 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";
var TRKresult;
var TRKscreen, TRKdpr, TRKwinsize, TRKcdi, TRKjava, TRKshk, TRKsvg, TRKfla;
var TRKrp, TRKmov, TRKwma, TRKpdf, TRKpdfver, TRKuserid, TRKsessionid;
var TRKnow, TRKbegin, TRKend;
var TRKnse, TRKn;
function awstats_setCookie(TRKNameOfCookie, TRKvalue, TRKexpirehours) {
TRKExpireDate = new Date ();
TRKExpireDate.setTime(TRKExpireDate.getTime() + (TRKexpirehours * 3600 * 1000));
document.cookie = TRKNameOfCookie + "=" + escape(TRKvalue) + "; path=/" + ((TRKexpirehours == null) ? "" : "; expires=" + TRKExpireDate.toGMTString());
}
//function awstats_runvbscript() {
// TRKresult = false;
// p=false;
// document.write('<SCRIPT LANGUAGE="VBScript">\non error resume next \n p = IsObject(CreateObject("PDF.PdfCtrl.5")) \n if (p) then \n msgbox("5") \n return true \n end if</SCRIPT>\n');
// alert(p);
// if (TRKresult) return 'y';
// else return 'n';
//}
function awstats_detectIE(TRKClassID) {
TRKresult = false; // !!! Adding var in front of TRKresult break detection !!!
document.write('<SCR' + 'IPT LANGUAGE="VBScript">\n on error resume next \n TRKresult = IsObject(CreateObject("' + TRKClassID + '")) \n </SCR' + 'IPT>\n');
if (TRKresult) return 'y';
else return 'n';
}
function awstats_detectNS(TRKClassID) {
TRKn = "n";
if (TRKnse.indexOf(TRKClassID) != -1) if (navigator.mimeTypes[TRKClassID].enabledPlugin != null) TRKn = "y";
return TRKn;
}
function awstats_getCookie(TRKNameOfCookie){
if (document.cookie.length > 0){
TRKbegin = document.cookie.indexOf(TRKNameOfCookie+"=");
if (TRKbegin != -1) {
TRKbegin += TRKNameOfCookie.length+1;
TRKend = document.cookie.indexOf(";", TRKbegin);
if (TRKend == -1) TRKend = document.cookie.length;
return unescape(document.cookie.substring(TRKbegin, TRKend));
}
return null;
}
return null;
}
if (window.location.search == "" || window.location.search == "?") {
// If no query string
TRKnow = new Date();
TRKscreen=screen.width+"x"+screen.height;
TRKdpr=window.devicePixelRatio;
if (navigator.appName != "Netscape") { TRKcdi=screen.colorDepth; }
else {TRKcdi=screen.pixelDepth};
TRKjava=navigator.javaEnabled();
TRKuserid=awstats_getCookie("AWSUSER_ID");
TRKsessionid=awstats_getCookie("AWSSESSION_ID");
var TRKrandomnumber=Math.floor(Math.random()*10000);
if (TRKuserid == null || (TRKuserid=="")) { TRKuserid = "awsuser_id" + TRKnow.getTime() +"r"+ TRKrandomnumber; }
if (TRKsessionid == null || (TRKsessionid=="")) { TRKsessionid = "awssession_id" + TRKnow.getTime() +"r"+ TRKrandomnumber; }
awstats_setCookie("AWSUSER_ID", TRKuserid, 10000);
awstats_setCookie("AWSSESSION_ID", TRKsessionid, 1);
TRKuserid=""; TRKuserid=awstats_getCookie("AWSUSER_ID");
TRKsessionid=""; TRKsessionid=awstats_getCookie("AWSSESSION_ID");
var TRKnav=navigator.appName.toLowerCase(); // "internet explorer" or "netscape"
var TRKagt=navigator.userAgent.toLowerCase(); // "msie...", "mozilla...", "firefox..."
//alert(TRKnav); alert(TRKagt);
var TRKwin = ((TRKagt.indexOf("win")!=-1) || (TRKagt.indexOf("32bit")!=-1));
var TRKmac = (TRKagt.indexOf("mac")!=-1);
var TRKns = (TRKnav.indexOf("netscape") != -1);
var TRKopera= (TRKnav.indexOf("opera") != -1);
var TRKie = (TRKagt.indexOf("msie") != -1);
// Detect the browser internal width and height
var TRKwinsize;
if (document.documentElement && document.documentElement.clientWidth)
TRKwinsize = document.documentElement.clientWidth + 'x' + document.documentElement.clientHeight;
else if (document.body && document.body.clientWidth)
TRKwinsize = document.body.clientWidth + 'x' + document.body.clientHeight;
else
TRKwinsize = window.innerWidth + 'x' + window.innerHeight;
if (TRKie && TRKwin) {
TRKshk = awstats_detectIE("SWCtl.SWCtl.1");
TRKsvg = awstats_detectIE("Adobe.SVGCtl");
TRKfla = awstats_detectIE("ShockwaveFlash.ShockwaveFlash.1");
TRKrp = awstats_detectIE("rmocx.RealPlayer G2 Control.1");
TRKmov = awstats_detectIE("Quicktime.Quicktime");
TRKwma = awstats_detectIE("wmplayer.ocx");
TRKpdf = 'n'; TRKpdfver='';
if (awstats_detectIE("PDF.PdfCtrl.1") == 'y') { TRKpdf = 'y'; TRKpdfver='4'; } // Acrobat 4
if (awstats_detectIE('PDF.PdfCtrl.5') == 'y') { TRKpdf = 'y'; TRKpdfver='5'; } // Acrobat 5
if (awstats_detectIE('PDF.PdfCtrl.6') == 'y') { TRKpdf = 'y'; TRKpdfver='6'; } // Acrobat 6
if (awstats_detectIE('AcroPDF.PDF.1') == 'y') { TRKpdf = 'y'; TRKpdfver='7'; } // Acrobat 7
}
if (TRKns || !TRKwin) {
TRKnse = "";
for (var TRKi=0;TRKi<navigator.mimeTypes.length;TRKi++) TRKnse += navigator.mimeTypes[TRKi].type.toLowerCase();
TRKshk = awstats_detectNS("application/x-director","");
TRKsvg = awstats_detectNS("image/svg+xml","");
if (document.implementation.hasFeature("org.w3c.dom.svg", "")) {TRKsvg = "y"; }
TRKfla = awstats_detectNS("application/x-shockwave-flash"); // ou lire dans naviagtor.plugins si on trouve "Shockwave Flash" ou "Shockwav Flash 2.0"
TRKrp = awstats_detectNS("audio/x-pn-realaudio-plugin");
TRKmov = awstats_detectNS("video/quicktime");
TRKwma = awstats_detectNS("application/x-mplayer2");
TRKpdf = awstats_detectNS("application/pdf");
TRKpdfver='';
}
var imgsrc1 = awstatsmisctrackerurl+'?dpr='+TRKdpr+'&screen='+TRKscreen+'&win='+TRKwinsize+'&cdi='+TRKcdi+'&java='+TRKjava;
var imgsrc2 = '&shk='+TRKshk+'&svg='+TRKsvg+'&fla='+TRKfla+'&rp='+TRKrp+'&mov='+TRKmov+'&wma='+TRKwma+'&pdf='+TRKpdf+'&uid='+TRKuserid+'&sid='+TRKsessionid;
//alert(imgsrc1);
//alert(imgsrc2);
var imgsrc=imgsrc1+imgsrc2;
if( document.createElementNS ) {
var l=document.createElementNS("http://www.w3.org/1999/xhtml","img");
l.setAttribute("style", "display:none;");
l.setAttribute("src", imgsrc );
l.setAttribute("height", "0");
l.setAttribute("width", "0");
document.getElementsByTagName("body")[0].appendChild(l);
} else {
document.write('<img style="display:none;" src="'+ imgsrc +'" height="0" width="0">')
}
}