开发者

How to add listener in firefox addon?

开发者 https://www.devze.com 2023-03-09 05:13 出处:网络
i\'ve add on load event like window.addEventListener(\"load\", function() { myExtension.init(); }, false);

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

精彩评论

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