Preventing a Firefox Extension's load event from triggering across tabs
- by lgomez
Hi,
I've been working on a Firefox extension that uses an iFrame to do some background scrapping. I have gone through a number of hoops to get it to trigger only once in the window/tab where it should but now when I open a different tab that tab triggers the load event.
I found this: https://developer.mozilla.org/en/Code_snippets/Progress_Listeners but the snippets are not there.
This was helpful before but doesn't solve the problem: https://developer.mozilla.org/en/Code_snippets/On_page_load
More frustrating is that if there is this: https://developer.mozilla.org/En/Listening_to_events_on_all_tabs why should I worry about the normal event listener triggering in more than one tab?
Any ideas or examples?