dub icon indicating copy to clipboard operation
dub copied to clipboard

Feature Request: Link Inspection/Preview with `?` or `+`

Open dandanio opened this issue 3 years ago • 2 comments

So, there is no way to inspect a link. For example: https://dub.sh/jK5Bb6x, I would like to be able to do: https://dub.sh/?jK5Bb6x (or something similar) to inspect where it leads me. Let's end the rickrolling everybody!

dandanio avatar Sep 23 '22 12:09 dandanio

Great idea! Will add this to the roadmap! :)

steven-tey avatar Sep 23 '22 13:09 steven-tey

Awesome! :)

@steven-tey Suggestion: Maybe for UX (I spoke with my UX researcher friend), instead of prefix (!/?/+), do the suffix (for ease of typing - workflow being: copy - paste, arrow right, (sign !/?/+), [enter] - new page loads with wording like (https://dub.sh/jK5Bb6x redirects to https://www.cnn.com/, another link on the page for a link to VirusTotal (https://www.virustotal.com/gui/home/url)).

dandanio avatar Sep 24 '22 01:09 dandanio

This would also be good as a safety measure against scams and other malicious links. (A link I found in the wild, which I believe to be malicious is actually how I discovered this project.)

Magicrafter13 avatar Jul 26 '23 21:07 Magicrafter13

Can't believe it took so long – but we finally shipped this! If you add + to the end of any dub.sh link, it should show something like this (with the option to report malicious links):

https://github.com/steven-tey/dub/assets/28986134/40270e96-0127-4930-958d-789b001b54c6

steven-tey avatar Aug 27 '23 00:08 steven-tey