IssueRaiser
All solutions

Tell HN: How to ban url shorteners from linking to your site

This is just an idea I'm going to throw out there. It seems a bit odd to suggest it because any link is a good link, right? Maybe not. Anyway, something like this in a bit of javascript would prevent people from linking to your site using a url shortener: <script> if (document.referrer.indexOf('bit.ly') > 0 || document.referrer.indexOf('someothershortener')>0) document.location.href='http://yoursite.com/noshortener.html'; </script> Put in that noshortener.html some content that will tell people why you don't allow shorteners to your content, here are some suggestions: 1) You want to know where your visitors are coming from and shorteners steal the real referrer. 2) Shorteners are a layer of indirection that could be modified beyond the user of the shortener's discretion to do something like digg is doing now 3) If the shortener goes away, the link to the content i

Why it failed

This is just an idea I'm going to throw out there. It seems a bit odd to suggest it because any link is a good link, right? Maybe not. Anyway, something like this in a bit of javascript would prevent people from linking to your site using a url shortener: <script> if (doc

Kind
startup
Status
Shut down
Inventor
pj
Ended
2009
Source
hackernews