PageSourceSearch

https://www.wibawajepara.com/wp-content/plugins/wp-power-stats/wp-power-stats.js

js wibawajepara.com collected 2026-09-26 10:58:47 UTC 1,293 bytes, 43 lines download raw bytes

1var PowerStats = {
2
3    encodeWrapper: window.encodeURIComponent,
4    urldecode: unescape,
5
6    purify: function(url) {
7        var targetPattern;
8        targetPattern = new RegExp('#.*');
9        return url.replace(targetPattern, '');
10    },
11
12    utf8_encode: function(argString) {
13        return this.urldecode(this.encodeWrapper(argString));
14    },
15
16    getRequest: function() {
17        var request, referralUrlMaxLength = 1024;
18        request = "ci="+PowerStatsParams.ci+"&action=power_stats_track&ref=" + this.encodeWrapper(this.purify(document.referrer.slice(0, referralUrlMaxLength)));
19        return request;
20    },
21
22    track: function() {
23        try {
24            if (window.XMLHttpRequest) {
25                xhr = new XMLHttpRequest;
26            } else if (window.ActiveXObject) {
27                xhr = new ActiveXObject("Microsoft.XMLHTTP");
28            }
29            if (xhr) {
30                xhr.open("POST", PowerStatsParams.ajaxurl, true);
31                xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
32                xhr.send(this.getRequest());
33            }
34        } catch (n) {
35            return false;
36        }
37    }
38
39};
40
41if (typeof PowerStatsParams.ajaxurl != "undefined") {
42    if (typeof PowerStats == "object") PowerStats.track();
43}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.