PageSourceSearch

https://www.sunwisdom.asia/vendor/statistics.js

js sunwisdom.asia collected 2026-09-30 12:59:38 UTC 773 bytes, 24 lines download raw bytes

1function httpPost(url, params = "") {
2    let httpRequest = new XMLHttpRequest();
3    httpRequest.open("POST", url, true);
4    httpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
5    httpRequest.send(params);
6    httpRequest.onreadystatechange = () => {
7        if (httpRequest.readyState === 4 && httpRequest.status === 200) {
8            return JSON.parse(httpRequest.responseText);
9        }
10    }
11}
12
13
14let screen_width = window.screen.width
15let screen_height = window.screen.height
16let path = window.location.pathname
17let referrer = document.referrer
18
19httpPost("/statistics", "screen_width=" + screen_width
20    + "&screen_height=" + screen_height
21    + "&_token=" + "{{csrf_token()}}"
22    + "&path=" + path
23    + "&referrer=" + referrer
24)

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.