1
我试图做到这一点的内容脚本jQuery的:在Chrome浏览器扩展的内容脚本输入选择
console.log('Found ' + $(':input').length + 'inputs');
我也得到
Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Document': ':input' is not a valid selector.
我明白了,但jQuery就在那里。 –
我对'jQuery(':input')' –
是什么'console.log(jQuery.fn.jquery)'? – dfsq