fwenzel / copy-shorturl

A Firefox extension to quickly create a short URL for the current page and copy it to the clipboard.
https://addons.mozilla.org/addon/copy-shorturl
Apache License 2.0
35 stars 15 forks source link

Cover site-specific nonstandard short URLs #63

Closed fwenzel closed 6 years ago

fwenzel commented 8 years ago

From Issue #57:

For certain sites it might make total sense to enable arbitrary selectors? NY times, for instance has: <span class="story-short-url"><a href="http://nyti.ms/2cjHxN9">http://nyti.ms/2cjHxN9</a></span></header>

And Reuters has: <div class="core-share nav-share" data-share-short-url="http://reut.rs/2cAuJjc" ...>

fwenzel commented 8 years ago

Problems I see off the bat:

fwenzel commented 7 years ago

The Guardian has stuff like "shortUrl":"https://gu.com/p/525m7 in the source. - Let users contribute.

fwenzel commented 6 years ago

Forward-duping to #83 . Though this particular feature would fish the nonstandard URL out of the page somewhere as opposed to "just" using a dedicated shortening service.