|
@@ -16,6 +16,21 @@
|
|
|
delete window.module;
|
|
|
}
|
|
|
</script>
|
|
|
+ <script src="https://ecs.qmth.com.cn:8878/electron-config/ali-arms.js"></script>
|
|
|
+ <script>
|
|
|
+ if (window.__sampleRateInt) { // from above js file
|
|
|
+ startAliArms(window.__sampleRateInt);
|
|
|
+ } else {
|
|
|
+ startAliArms(100);
|
|
|
+ }
|
|
|
+ function startAliArms(sampleRate) {
|
|
|
+ console.log('ARMS sample: ' + sampleRate);
|
|
|
+ !(function (c, b, d, a) {
|
|
|
+ c[a] || (c[a] = {}); c[a].config = { pid: "hworw@48e147d26fd751a", enableSPA: true, sample: 10, sendResource: true, imgUrl: "https://arms-retcode.aliyuncs.com/r.png?" };
|
|
|
+ with (b) with (body) with (insertBefore(createElement("script"), firstChild)) setAttribute("crossorigin", "", src = d)
|
|
|
+ })(window, document, "https://retcode.alicdn.com/retcode/bl.js", "__bl");
|
|
|
+ }
|
|
|
+ </script>
|
|
|
</head>
|
|
|
|
|
|
<body>
|