swift-selection-search
swift-selection-search copied to clipboard
Copy link location option
Could you add a button/option to copy a link's location if a link is selected? Ideally it should recognize a link and copy the location even if you only select part of it.
Interesting suggestion, I'll check if it's feasible eventually. :) Lots of requests and little time right now hehe. Thanks!
If you add link copying from selected text to this almost perfect add-on, it will be perfect!
Hey @ali-ee, thanks! :) This suggestion is not forgotten, but I can't promise anything yet. ;)
+1 on this one from me.
I have looked into this before, and there have been a lot of suggestions for link-based things, but unfortunately they all have different requirements and problems. Essentially:
- Copy link location when a link is selected (this issue): this requires having an additional custom button and detecting when the selection contains a link. This becomes a problem if multiple links are selected. There's also already a default option in Firefox for "Copy Link Location" when right clicking a link, which arguably solves this problem without the need of a selection-based addon like SSS to detect links. (That said, this is not necessarily out of the scope of SSS.)
Can you give me more details on why you wouldn't use "Copy Link Location" instead?
-
Using right click or a Modifier+Click shortcut to search for a link's text. I was actually able to add code for this (for the right click context menu only) a while ago but there was an inconsistency that I didn't like. Essentially, right clicking a link would make the text in the context menu read "Search for “%s”" with a literal %s, because Firefox only replaces %s with the selected text, and right clicking a link selects nothing. This is minor, but still weird, and right clicking still wouldn't search for the URL if there was anything at all selected in the page, which is worse.
-
Using right click or a Modifier+Click shortcut to search for a link's URL. Similar to 2, but different functionality, so different options.
So yeah.... :) Right now I don't have a lot to say about these.