Skip to content

Conversation

@PressJump
Copy link
Member

@PressJump PressJump marked this pull request as ready for review January 7, 2023 10:47
@PressJump PressJump added the enhancement New feature or request label Jan 7, 2023
@PressJump PressJump requested a review from trickypr January 7, 2023 10:47

const sidebartabs = browser.menus.create({
title: 'Add to Sidebar',
contexts: ['page'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, if I right click in a blank part of the page, I can add the page to the sidebar, but if I right click on the tab I cannot. If I right click on selected text I cannot.

Also, shouldn't I be able to right click on a link to add it to the sidebar? That was what I thought this was itnened to fix at first.

Please review the valid context menu types: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/menus/ContextType

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm the link adding to sidebar sounds like a cool addition. I thought it was the page itself but will change to add both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability To Open Current Page or Link in Sidebar Via Context Menu

3 participants