|
|
@@ -0,0 +1,17 @@
|
|
|
+/*
|
|
|
+中国联通vConsole调试
|
|
|
+
|
|
|
+[Script]
|
|
|
+# > 中国联通vConsole调试
|
|
|
+^https?://img.client.10010.com/2023unicomyuedu/index.html url script-response-body https://git.jojo21.top/shawenguan/Quantumult-X/raw/master/Scripts/unicom/unicomDebug.js
|
|
|
+
|
|
|
+[MITM]
|
|
|
+hostname = activity.10010.com,m.client.10010.com
|
|
|
+
|
|
|
+*/
|
|
|
+let body = $response.body;
|
|
|
+
|
|
|
+let injectionStr = `<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>\n<script>var vConsole = new window.VConsole();</script>`;
|
|
|
+body.replace(/<\/body>/i, injectionStr + "</body>");
|
|
|
+
|
|
|
+$done({ body: body })
|