Closed Lej77 closed 1 month ago
@Lej77 if this persists in the current version, could you retitle this as an issue report (rather than as a task)? For example:
Context menu item missing when extension is disabled then re-enabled
I checked Auto Tab Discard version 0.6.7
on Firefox Nightly version 130.0a1
(2024-07-20) and this issue seems to have been fixed!
Short description
When the addon is disabled and then later enabled the context menu items won't show up. Note that they do show up after the browser is restarted, when the addon is installed or when the settings are saved.
The issue is likely because the
once
function in thebackground.js
file isn't called when the addon is enabled.Steps to reproduce
Auto Tab Discard
.Expected result
The context menu should include the
Auto Tab Discard
item.Actual result
The
Auto Tab Discard
context menu item is not there.Environment