tianyun 2 лет назад
Родитель
Сommit
237bb4bb48
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 1
      tmp/monkey/util.js
  2. 2 1
      tmp/test.html

+ 1 - 1
tmp/monkey/util.js

@@ -170,7 +170,7 @@ function addJSFile(js_url) {
 }
 
 function addJQ() {
-    addJSFile("https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.slim.min.js");
+    addJSFile("https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js");
     setInterval(() => {
         if (typeof (jQuery) == 'undefined') {
             addJSFile("");

+ 2 - 1
tmp/test.html

@@ -16,7 +16,8 @@
         r = null;
         return context == null || context == "" || context == "undefined" ? "" : decodeURI(context);
     }
-    location.href = GetQueryString("url");
+    // location.href = GetQueryString("url");
+    console.log(GetQueryString("url"))
 </script>
 
 </body>