Support GitHub redirect domains in `shorten-links`
See original GitHub issueDescription
Popular bots like Dependabot and Renovate uses redirect domains for references instead of linking directly, so they won’t flood the original discussion.
We can swap those domains with github.com
, which is technically also shorten-links
.
Known redirect domains:
togithub.com
* (Renovate)github-redirect.dependabot.com
(Dependabot)
* This domain has a pretty obvious (and easy to type) name! I highly encourage contributors use it for demo links. Also, if this issue is resolved, we can get the best of two worlds: direct links without disturbance.
Screenshot
No response
Example URL
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
redirect-urls · GitHub Topics
This is a simple and short URL to redirect users to an NFT domain simply and quickly. You can also use this domain...
Read more >Undeprecate git.io and restrict new URLs to `github.com ...
Undeprecate git.io and restrict new URLs to `github.com` domain. ... While the git.io url redirection service is read-only and use of the service...
Read more >gitdotio/gitdotio.github.io: Redirect URLs to your websites ...
Git.io is a URL shortening service that will redirect to your Github projects. If you try to redirect to other domain out of...
Read more >redirect-urls · GitHub Topics
This is a simple and short URL to redirect users to an NFT domain simply and quickly. ... A simple link redirecting service...
Read more >Personal URL shortener on your domain with automation ...
Are you ready to continue learning how to work with GitHub Action. ... Permanently redirect from https://<domain>/link-1 to another link ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Shouldn’t it be a new feature then? Since the goal is not to shorten the anchor text, but to avoid a redirection, this seems outside the scope of
shorten-links
imo.Interesting. I’d implement this as a
avoid-redirects
feature that is just adelegate('a', 'mousedown')
which changes the links before navigation happens.