Call onContextsGot when windows are created

This commit is contained in:
eyedeekay
2025-02-07 14:58:03 -05:00
parent c5c7cc649e
commit 32a5c79818

View File

@@ -58,6 +58,8 @@ function onContextsGot(contexts) {
});
}
browser.windows.onCreated.addListener(onContextsGot);
// every time a window opens, call onContextsGot
browser.tabs.onCreated.addListener(onContextsGot);