I’m learning JS, and i have to do now a web extension for mozilla firefox, and i need some help.
I’m trying to capture all window events, but i don’t know if it’s possible to capture events like tabs change or opening a new tab… in other words, i want to capture all browser events, but I’m currently getting only window events from the web pages that the scripts are loaded.
By now, my solution is loading a content script for all tabs and capture their events separately, and manage the focus/blur events. But it would be so much better if i could also handle the events triggered from the browser, not only from the web pages.
If you want i can up my codes here.
thank you guys.