copy public URL on anchor context
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 339
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Unfortunately, I don't know when this stopped working, or if it's actually intended to work this way.
But at some point previously, I could right-click anchors and copy their specific public url.
Now, when I do the same, it copies the public url to the current path, without the anchor's target.
e.g.
This

Should put
http://ipfs.io/ipfs/QmWn4vJepGcAEmT36FDL6ca1RxSXiuca9Ew8pb7RZGKbq4/symlink-tree.tar.xz
on the clipboard, but I end up with just
http://ipfs.io/ipfs/QmWn4vJepGcAEmT36FDL6ca1RxSXiuca9Ew8pb7RZGKbq4
Edit:
For reference, I'm getting this on Firefox and Vivaldi, with the latest stable and beta.
Contributor guide
Research direction
Start by reproducing the right-click action on an anchor in Firefox or Vivaldi, then trace the extension's context-menu URL construction. Confirm that copying an anchor includes its target path and that copying the current page still works; the expected clipboard value is shown in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100