摘要: 打开chrome的devtools工具,sources下有一个Content script:1 chrome插件开发过程中难免会遇到使用content script来操作页面的dom,在chrome官方文档中有关于content script的一些说明:“Content scripts are Ja... 阅读全文
posted @ 2014-04-13 22:53 simonbaker 阅读(1549) 评论(0) 推荐(0)
摘要: //1 document.onkeydown如果多次监听同样的事件,那么前面的监听函数都会被最后一次的监听函数所覆盖。 //如下所示: document.onkeydown = function(evt) { alert(9)... 阅读全文
posted @ 2014-04-13 22:20 simonbaker 阅读(6256) 评论(0) 推荐(0)