bengarrett/RetroTxt

[TODO] Use chrome.action.isEnabled()

Closed this issue · 1 comments

Chrome 109: Is an extension enabled

The chrome.action.isEnabled() method programmatically checks whether an extension has been enabled for a specific tab. This saves you from maintaining the enabled state of your tabs. This new method takes a tab ID and a reference to a callback and returns a boolean. It has one limitation: tabs created using chrome.declarativeContent always return false.

This is unnecessary as the chrome action button isn't in use anymore. It has been replaced with the popup.js.