copy-selected-tabs-to-clipboard icon indicating copy to clipboard operation
copy-selected-tabs-to-clipboard copied to clipboard

[Feature Request] Copy formatted links to clipboard

Open Vingolf opened this issue 3 years ago • 5 comments

add an entry to the context menu when right-clicking on a link
to enable the use of favourite formats for links too.

If appropriate, add an option in the settings
to enable or disable this feature.

You created a very good add-on with Copy Selected Tabs to Clipboard
and I have several copy formats in use with it 👍

Vingolf

Vingolf avatar Feb 20 '22 14:02 Vingolf

It looks interesting but beyond the scope of this project, and it looks hard to make the feature compatible to both tabs and links - links don't have "description" and some other information.

If you seriously require the feature, you should fork this project for the feature.

piroor avatar Sep 11 '22 17:09 piroor

it looks hard to make the feature compatible to both tabs and links - links don't have "description" and some other information.

The user might select any text and this text is used as the description for the link 🤔

Format Link is an firefox addon that uses a selected text for a link

Vingolf avatar Sep 19 '22 13:09 Vingolf

I meant that the "description" is a metadata provided by the author of the webpage (like <meta name="description" content="...">.) Templates shared between tabs and links will make things complicated.

Format Link is an firefox addon that uses a selectet text for a link

Yes, that is the answer. I recommend you to use the addon for in-page links together with this - basically I recommend Firefox users (and addon developers) to use/develop feature-oriented addons instead of all-in-one type addons. Mixing different context features blurs the concept and it will shorten project lifetime unwantedly.

piroor avatar Sep 19 '22 14:09 piroor

Yes, that is the answer. I recommend you to use the addon for in-page links together with this - basically I recommend Firefox users (and addon developers) to use/develop feature-oriented addons instead of all-in-one type addons. Mixing different context features blurs the concept and it will shorten project lifetime unwantedly.

This is a profound argumentation and I think you can close this issue now ✅

Vingolf avatar Sep 20 '22 08:09 Vingolf

The largest my concern about this feature was: how should we manage formats for tabs and links. We had to define similar templates for tab and link, so I thought that it will painful for users.

And here is a good news. I recently introduced a new placeholder %ANY(value1, value2, ...)% which will be filled with the first effective value. With this feature we can define a format supporting both cases: tab and link, so adding new functionality to copy links with a format became easier.

If you write a patch to support context menu commands on links, I'll merge it.

piroor avatar Oct 06 '22 18:10 piroor