Hi,
Is there any event to know when the devtools are opened and closed in a webextension?
Thanks.
No. You could check for your dev tools page existing though. You’d create a port as soon as the page loads and then wait for the disconnect of the port to know when the page was closed.
1 Like