ipfs / ipfs/ipfs-companion

copy public URL on anchor context

Open
#592 1 comment 0 reactions 0 assignees View on GitHub
kind/bug status/in-progress
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
![companion context copy](https://user-images.githubusercontent.com/13862850/45826218-0ea26080-bcc2-11e8-8030-f7f52de9527a.png)
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.