abdulazizali77/sloooop

Enabled flag is not invalidated when user logs out while extension is enabled

Closed this issue · 2 comments

Enabled flag is not invalidated when user logs out while extension is enabled

The content script gets unloaded before the bg can receive the user_logout message due to the logout handler. So we should instead send a pre_logout to the background so that it can set a flag to check tab.onUpdated for the existence of Login button.
Actually messaging works!