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

Add option to hide the Copy Link menu item #165

Merged
merged 2 commits into from Oct 26, 2022

Conversation

absidue
Copy link
Contributor

@absidue absidue commented Oct 25, 2022

This pull request adds an option to hide the "Copy Link" menu item.

One use case for this would be to use defaultActions.copyLink with transform in prepend or append, without needing to replace the entire menu. Which makes it possible to transform file:// and localhost (webpack dev server) links into the equivalent web links. In FreeTube (https://github.com/FreeTubeApp/FreeTube), which is a YouTube client, we could use it to transform the links of video search results into YouTube links.

@sindresorhus sindresorhus merged commit 48b43f9 into sindresorhus:main Oct 26, 2022
@absidue absidue deleted the hide-copy-link branch October 26, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants