PageSourceSearch

https://www.9gbra.com/render.js?v=1769154600

js 9gbra.com collected 2026-10-09 22:19:34 UTC 1,837 bytes, 55 lines download raw bytes

1
2window.appName = '9Gbet'
3window.appLogo=`./logo.png`
4var ontimeout_count = 3
5function GetConfigData(url,callback) {
6    return new Promise((resolve, reject)=>{
7        var ajax = false;
8        if (window.XMLHttpRequest) {
9            ajax = new XMLHttpRequest();
10        } else {
11            ajax = new ActiveXObject("Microsoft.XMLHTTP");
12        }
13        ajax.open("get", url, true);
14        ajax.onreadystatechange = function () {
15            if (ajax.readyState !== 4) return
16            if (ajax.status === 200) {
17                resolve({
18                    status: 1,
19                    data: ajax.responseText
20                })
21            } else if(ajax.status===403) {
22                window.location.href = `${window.location.origin}/403.html`
23                reject(new Error('403 Forbidden'))
24            } else {
25                reject(new Error(`Request failed: ${ajax.status}`))
26            }
27        }
28        // ajax.send();
29        // resolve({status:1,data:ajax.responseText})
30        ajax.ontimeout=function(){
31            GetConfigFun(`https://www.9gfile.com/config/LangConfig.json?_${new Date().getTime()}`,callback)
32        }
33        ajax.onerror =function(){
34            GetConfigFun(`https://www.9gfile.com/config/LangConfig.json?_${new Date().getTime()}`,callback)
35        }
36        ajax.send();
37    })
38}
39//GetConfigFun(`https://www.9gfile.com/config/LangConfig.json?_${new Date().getTime()}`)
40// GetConfigFun(`LangConfig.json?_${new Date().getTime()}`)
41function GetConfigFun(url,callback){
42    if(ontimeout_count<=0){
43        return
44    }
45    ontimeout_count -= 1
46    GetConfigData(url,callback).then((res) => {
47        if (res.status === 1) {
48            window.LanguageConfig = JSON.parse(res.data);
49            callback();
50        }
51    });
52}
53
54
55

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.