Reputation: 2842
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:
Thank you for the help...
Upvotes: 0
Views: 342
Reputation: 15351
Use the DOMContentLoaded event.
Upvotes: 1