PageSourceSearch

https://inec.go.tz/admin/js/visitors-counter/visitors.logs.js

js inec.go.tz collected 2026-10-02 19:58:29 UTC 973 bytes, 36 lines download raw bytes

1$(function () {
2    var client = new ClientJS(); // Create A New Client Object
3
4    var url = $('#base_url').val() + "/api/visitorsLog";
5
6    var data = {
7        browserId: client.getFingerprint(),
8        browserName: client.getBrowser(),
9        browserVersion: client.getBrowserVersion(),
10        userAgent: client.getUserAgent(),
11        os: client.getOS(),
12        osVersion: client.getOSVersion(),
13    };
14
15
16    $.ajax({
17        type: "POST",
18        url: url,
19        data: data,
20        dataType: 'json',
21        success: function (response) {
22            //console.log(response);
23            var visitors = response;
24            $('#today').html(visitors.today);
25            $('#yesterday').html(visitors.yesterday);
26            $('#week').html(visitors.thisWeek);
27            $('#month').html(visitors.thisMonth);
28            $('#all').html(visitors.all);
29        },
30        error: function (err, msg) {
31            console.log(err, msg);
32        }
33    });
34
35
36});

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.