Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web extension contextmenu API #5

Open
ahmadayubi opened this issue Sep 29, 2021 · 2 comments
Open

Web extension contextmenu API #5

ahmadayubi opened this issue Sep 29, 2021 · 2 comments
Labels
question Further information is requested

Comments

@ahmadayubi
Copy link
Member

Web extensions allow developers to define their own custom context menu items. This maybe useful for MapML but may not be required.

@ahmadayubi ahmadayubi added the question Further information is requested label Sep 29, 2021
@prushforth
Copy link
Member

Do you mean to customise the browser's context menu? That might be interesting, although I wouldn't want to separate the context menu functionality out of our custom elements and put it only into the extension.

@ahmadayubi
Copy link
Member Author

Yeah I meant it allows the ability to add to the browser's context menu, if this is ever implemented you'd have to completely get rid of the context menu inside MapML, as you couldn't have both. Although you could conditionally show different ones (either the browser's context menu or MapML's context menu) depending on if the extension is installed or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants