如何检测页面何时加载(在任何选项卡中)带有 firefox 扩展(自动,没有开始按钮或任何东西)(并显示例如警告消息)?
最佳答案
https://developer.mozilla.org/en/Code_snippets/On_page_load
不要错过这部分:“
Current Firefox trunk nightlies will fire the onPageLoad function for not only documents, but xul:images (favicons in tabbrowser). If you only want to handle documents, ensure aEvent.originalTarget.nodeName == "#document" 1.
”
关于firefox - 检测页面何时加载了 firefox 扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1187795/