shawenguan 1 жил өмнө
parent
commit
2f9bcbdced

+ 1 - 1
Scripts/unicom/unicomDebug.js

@@ -13,6 +13,6 @@ hostname = img.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>");
+body = body.replace(/<\/body>/i, injectionStr + "</body>");
 
 $done({ body: body })