PageSourceSearch

https://rg1008.com/config/app.data.common.js?v=1.0.2

js rg1008.com collected 2026-10-06 06:21:09 UTC 1,226 bytes, 39 lines download raw bytes

1'use strict';
2
3/*请求的地址和结果二次处理*/
4window.$dataCommon = {
5  repsData: [],
6  repsApi: [],
7  //结果数据进行转换
8  doConvert: function doConvert(dataNew) {
9    if (window.$dataCommon && window.$dataCommon.repsData && window.$dataCommon.repsData.length > 0) {
10      (function () {
11        var jsonS = JSON.stringify(dataNew);
12        window.$dataCommon.repsData.forEach(function (element) {
13          var ch = element.key;
14          if (jsonS.includes(element.key)) {
15            jsonS = jsonS.replace(new RegExp(ch, 'g'), element.value);
16          }
17        });
18        dataNew = JSON.parse(jsonS);
19      })();
20    }
21    return dataNew;
22  },
23  //处理接口替换
24  doApiUrl: function doApiUrl(dataUrl) {
25    if (window.$dataCommon && window.$dataCommon.repsApi && window.$dataCommon.repsApi.length > 0) {
26      (function () {
27        var jsonS = dataUrl;
28        window.$dataCommon.repsApi.forEach(function (element) {
29          var ch = element.key;
30          if (jsonS.includes(element.key)) {
31            jsonS = jsonS.replace(new RegExp(ch, 'g'), element.value);
32          }
33        });
34        dataUrl = jsonS;
35      })();
36    }
37    return dataUrl;
38  }
39};

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.