PageSourceSearch

https://lingyuzhao.top/js/before.js

js lingyuzhao.top collected 2026-10-06 13:15:35 UTC 948 bytes, 24 lines download raw bytes

1setInterval(function () {
2    if (window.location.href.indexOf("debug") !== -1) {
3        return;
4    }
5    const threshold = 160; // ãÐÖµ£¬¿ÉÒÔͨ¹ý²âÊÔµ÷Õû´ËÖµ
6    const startTime = Date.now();
7    debugger;
8    const endTime = Date.now();
9    if (endTime - startTime > threshold) {// Èç¹ûʱ¼ä²î´óÓÚãÐÖµ£¬ÔòÈÏΪ¿ª·¢Õß¹¤¾ß±»´ò¿ª
10        window.location.href = "/Error.html?code=0&message=%E4%B8%8D%E8%A6%81%E6%89%92%E6%88%91%E5%95%A6%EF%BC%81%E5%91%9C%E5%91%9C%E5%91%9C"
11    }
12}, 1000);
13if (window.location.href.startsWith("http://")){
14    window.location.href = 'https://' + window.location.href.substring(7, window.location.href.length)
15} else {
16    /*Ò»ÇвÙ×÷¿ªÊ¼Ö®Ç°*/
17    console.info("welcome~~~")
18    /* ˵Ã÷ÊǵÚÒ»´Î·ÃÎÊ */
19    if (isFirstVisit() && !isLink() && isHuman) {
20        console.info("first!");
21        // µÚÒ»´Î·ÃÎÊ ÇÒ ²»ÊÇlink
22        window.location.href = 'welcome.html#' + window.location.href;
23    }
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.