大佬看看我这是哪搞错了
#200
Replies: 2 comments 1 reply
-
从结果上看应该是不支持web api的,不如用内置的tools.cssSelector()方法试试? |
Beta Was this translation helpful? Give feedback.
0 replies
-
我改成了用xpath写了: var scriptTags = tools.xpathSelector(result, '//script'); ,但是提示我:[contentRule.content]SyntaxError: expecting ';' |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在网站控制台输出是有结果的,但是为啥在软件上提示错误没结果啊:
function findImageUrlsInThirdScript() {
var scriptTags = document.querySelectorAll('script');
var thirdScript;
}
var imageUrls = findImageUrlsInThirdScript();
console.log(imageUrls);
Beta Was this translation helpful? Give feedback.
All reactions