The dot is shown when your addon “want’s” to run on the current page but doesn’t have the host permission for doing that.
For example, when the host is listed in the optional_host_permissions list. This was introduced only recently:
To fix it, you need put the host to the host permissions array:
Also, content scripts registered through the manifest file will automatically get the host permission.
Sup @juraj.masiar, thank you for trying to help, you are a true Friend of Add-ons!
I tested adding "host_permissions": ["https://chatgpt.com/*"], but it didn’t work, also the post you linked was last updated 2024-07-17, and I never had blue dot problem until recently (extension was published in September, after July)
Also you said “content scripts registered through the manifest file will automatically get the host permission” anyway and my content_scripts is already:
Could you post the whole manifest file here?
Also, any chance you are removing host permissions using code?
The dot issue still exists, for example if you have optional <all_urls> permission.
But it sounds super strange… the dot should only appear when you don’t have host permission for the currently viewed page, so are you sure the tab URL is chatgpt.com?
Also, I’ve just tested it in one of my MV3 addons, removing host from host_permissions array doesn’t break it for the host as long as the content script is registered for the host.
I think we’ll need a new pair of eyes here because I’m out of ideas .
Unless you are using some old Firefox?
Or maybe you’ve misclicked a context menu on the toolbar icon?
I just changed to “Always Allow on chatgpt.com”, removed extension, then re-installed and it worked!!!
So if not a bug, it is at least undesirable that this context menu setting persists even when extensions are removed (it should stick w/ default behavior on fresh install) do you agree?
Note that the “true” re-installing requires restarting Firefox after uninstalling, otherwise data/settings are not really deleted when you install it back.