rugk / offline-qr-code

📱 Browser add-on allowing you to quickly generate a QR code offline with the URL of the open tab or other text!
https://addons.mozilla.org/firefox/addon/offline-qr-code-generator/?utm_source=github.com&utm_medium=github&utm_content=github-url-description&campaign=github-url-description
Other
392 stars 115 forks source link

Add context-menu item for generating a QR code for _the current page_ #321

Open benlk opened 1 month ago

benlk commented 1 month ago

Background

This request is to add feature parity between Firefox with this addon, and with Chrome. Chrome's current QR code implementation adds a "Create QR code for this page" menu item to the right-click menu.

Proposed solution

When the user right-clicks or invokes the context menu not on a selection and not on a link, this extension's addition to the context menu should show an entry to generate a QR code for the current page, as if the user had clicked on the extension's menu button.

Alternatives

Additional context

rugk commented 1 month ago

This sounds like a legitimate feature request, but it should be optional (maybe opt-in, i.e. disabled by default?) as in https://github.com/rugk/offline-qr-code/issues/157 many people already want to not want that, after all…

But I agree feature parity is a good argument.

Should also be an easy thing to implement, so I'll mark it as a good first issue.