开发者

How to add listener in firefox addon?

i've add on load event like

window.addEventListener("load", function() { myExtension.init(); }, false);

i want to know the the code the following two events:

开发者_Go百科
  • Before any pictures/flash/js are download
  • When the page stops loading due to any reason (may be the user

    stopped it or any anyther reason)

Thank you for the help...


Use the DOMContentLoaded event.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜