Live data from Hacker News

A URL Lengthener

aaa.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com

261–270 of 313 posts

Re: A URL Lengthener

#261
post #258
post #252

Earlier quoted context omitted.

They can use onclick and leave the href attribute alone.

I'm sure this is something they have considered as their own analytics program uses onclick to track outbound traffic - I assume it's a mix of speed, reliability and the ability to track without javascript. Plus, if it was done on OnClick there would definitely be an add-on to disable the tracking on all browsers.

There are some privacy reasons for it.

A direct link from a search page will let websites see the search terms that users entered in to navigate there.

Google still knows everything so it doesn't protect you from them, but websites are more in the dark what users were doing before clicking the link.

Re: A URL Lengthener

#262
post #260

I'm not an advanced programmer, so can somebody explain me why would you collect "insights" for a such made-as-a-joke service.

I added a little desc to the footer. TLDR its simply to see num of users and i've made the dashboard itself public so you can see for yourself.

Re: A URL Lengthener

#263

Dumb question: the lengthener prepends the URL with "\x20\x0b" strings which are then not removed on the other end. So the link inserted in the redirect ends up looking like " \x0b \x0b \x0bhttps://www.example.org" But this apparently works! Why does it work?

so what you're seeing is the creation of a zero width space. When you combine an \x20 and an \x0b, it makes a zero width space, which your browser ends up ignoring. Only reason these are in there are to ensure the URLs are at a minimum length. Who wants a mere 20 character URL when you can have a minimum of 250 characters.

Re: A URL Lengthener

#266
post #131

The problem with this is that when I hold and press "a" in the address bar on mac at least alternate characters menu pops up instead of the key being repeated. I'd suggest this new domain: 1234567890qwertyuiopasdfghjklzxcvbnm.com

Only problem is that i'd have to pay 700 dollars lol

Re: A URL Lengthener

#267
thank God for dr Moses Buba for helping me with pills for penis enlargement and cure my friends diabetes, he has been putting smile on my face, and on the faces of my loved ones, I got his email address via facebook platform on a penis size forum on facebook so I decided to contact him directly on his email address, and my encounter with this herbal doctor is a lifetime mind blowing testimony, so to all the other men out there about little penis , and other people that are sick of all other deadly diseases such as kidney problems, diabetes, leukemia, herpes and those that needs pills or creams for erectile dysfunction, premature ejaculation, kindly contact him directly on his email address via: buba.herbalmiraclemedicine@gmail.com or WhatsApp him on +2349060529305 or call me for more details +15019914802 He is the best herbal doctor I have ever came across during my search for a cure, Good luck to all the sick people out there, I love you all

Re: A URL Lengthener

#268
A nice feature is that when you design a URL lengthener, you can make the service stateless. The backend doesn't need to store every URL that it was ever given. This contrasts with URL shortener services, which must store state in order to generate very short URLs. (In theory, shorteners can use stateless compression like zlib, but it wouldn't save enough space to be worth it.)

Re: A URL Lengthener

#270

Earlier quoted context omitted.

Or when you Google something and copy a link straight from their search page. Novel-length URLs.

Copying canonical PDF link from Google result on Android device is extremely frustrating because Chrome Android doesn't support to open PDF so it opens reader app. Anyone have solution?

[dead]
Post reply on HN