Firefox Extension - Onpopupclose Event?
I have popup in which I need to update the data inside it in reactively. What function or event is needed to track when a popup closes? Currently my code structure is as follows:
Solution 1:
Unfortunately I did not see that unload is defined on window and not document. Simply changing the document.addEventListener("unload"
to window.addEventListener("unload"
fixes the problem.
Post a Comment for "Firefox Extension - Onpopupclose Event?"