PageSourceSearch

http://www.tangyuzhubao.cn/js/xy-js01.js

js tangyuzhubao.cn collected 2026-09-27 18:52:37 UTC 3,235 bytes, 101 lines download raw bytes

1<!-- Google Tag Manager (GTM容器代码) -->
2<script>
3// ==================== GTM初始化 ====================
4(function(w,d,s,l,i){
5  w[l]=w[l]||[];
6  w[l].push({
7    'gtm.start': new Date().getTime(),
8    event:'gtm.js',
9    userStatus: {  // 用户状态预置[3][6]
10      signedIn: false,
11      customerID: "",
12      email: ""
13    }
14  });
15  var f=d.getElementsByTagName(s)[0],
16      j=d.createElement(s),
17      dl=l!='dataLayer'?'&l='+l:'';
18  j.async=true;
19  j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
20  f.parentNode.insertBefore(j,f);
21})(window,document,'script','dataLayer','GTM-NVW84G');
22</script>
23
24<!-- 百度统计 + 性能监控整合 -->
25<script>
26// ==================== 全局初始化 ====================
27window._hmt = window._hmt || [];
28dataLayer = window.dataLayer || [];
29
30
31// ==================== 数据层配置 ====================
32dataLayer.push({
33  page: "/index.jsp" + location.search,
34  initSigninStat: "not_signin"  // 登录状态同步[3][10]
35});
36document.cookie = "initSigninStat=;path=/;SameSite=Lax";
37
38// ==================== Boomerang性能监控 ====================
39(window.BOOMR_mq = window.BOOMR_mq || []).push(["addVar", {
40  "rua.upush": "false",
41  "rua.cpush": "false",
42  "rua.trans": "SJ-459c80f0-ed62-47a1-b7ba-00dacab8868d",
43  "sm.sw.v": "1.3.6"  // 版本同步[5][9]
44}]);
45
46!function(window) {
47  // Boomerang动态加载(带PCI检测)[7][9]
48  var n = "https://s" + ("True"=="True"?"2":"") + ".go-mpulse.net/boomerang/";
49  window.BOOMR_config = window.BOOMR_config || {};
50  window.BOOMR_config.PageParams = { pci: "True"=="True" };
51  window.BOOMR_API_key = "V3DN7-VV6MZ-WXQ5Q-YVZUN-DGDFM";
52
53  if (!window.BOOMR) {
54    var t = document.createElement("link");
55    t.rel = "preload", t.as = "script", t.href = n + window.BOOMR_API_key;
56    t.onload = function() {
57      var e = document.createElement("script");
58      e.src = t.href, document.body.appendChild(e);
59    };
60    document.head.appendChild(t);
61  }
62}(window);
63
64// ==================== Service Worker注册 ====================
65if ("serviceWorker" in navigator) {
66  window.addEventListener("load", function() {
67    navigator.serviceWorker.register("/akam-sw.js", { 
68      scope: "/",
69      updateViaCache: "none"  // 禁用缓存更新[5]
70    }).then(function(reg) {
71      // 性能数据上报[5][9]
72      if (window.performance) {
73        var timing = performance.timing;
74        reg.active?.postMessage({
75          isAka3pm: true,
76          command: "navTiming",
77          navTiming: timing.responseEnd - timing.responseStart
78        });
79      }
80    }).catch(console.error);
81  });
82}
83
84// ==================== 调试工具 ====================
85if (window.akamServiceWorkerDebug) {
86  console.groupCollapsed("[Integrated Debug]");
87  console.log("GTM Loaded", dataLayer);
88  console.log("Baidu Analytics Ready");
89  console.log("Boomerang Config", window.BOOMR_config);
90  console.groupEnd();
91}
92</script>
93
94<!-- GTM noscript回退 -->
vendor: 73 bytes, lines 94-96
94
95<noscript>
96  <iframe src="https://www.googletagmanager.com/ns.html?id=
96GTM-NVW84G
vendor: 115 bytes, lines 96-101
96"
97          height="0" width="0" 
98          style="display:none;visibility:hidden">
99  </iframe>
100</noscript>
101

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.