Closed jscher2000 closed 6 years ago
A user may prefer to add a link to a regular or a private window, but currently it is difficult to tell which is which. The information hopefully is easy to retrieve --
https://developer.mozilla.org/Add-ons/WebExtensions/API/windows/Window
-- but I'm not sure of the best UI. Perhaps you could use the icons property to show the mask:
https://developer.mozilla.org/Add-ons/WebExtensions/API/menus/create
and make that an optional third argument to generateItem().
Great idea, looking forward to implement it.
Great, thanks!
A user may prefer to add a link to a regular or a private window, but currently it is difficult to tell which is which. The information hopefully is easy to retrieve --
https://developer.mozilla.org/Add-ons/WebExtensions/API/windows/Window
-- but I'm not sure of the best UI. Perhaps you could use the icons property to show the mask:
https://developer.mozilla.org/Add-ons/WebExtensions/API/menus/create
and make that an optional third argument to generateItem().