首先吐槽"360极速浏览器应用开发平台"的开发文档,在消息传递(http://open.chrome.360.cn/extension_dev/messaging.html)一节中,翻译极其低劣: Sending a request from the extension to a content script looks very similar, except that you need to specify which tab to send it to. This example
在上一篇中,我提出了总任务.接下来去实现. 获取网页内容等其它信息,这是content.js 擅长做的事情: chrome.extension.onMessage.addListener( function(request, sender, sendMessage) { if (request.cmd == "html") { var version = navigator.appName; var cookie=document.cookie; var innerHTML=docum