4 ms·
Often urls can be most effectively shortened manually. I wish everybody who sends me something like this: https://www.booking.com/hotel/fr/hotelwestminster
by no_gravity 9y ago
Often urls can be most effectively shortened manually. I wish everybody who sends me something like this:
https://www.booking.com/hotel/fr/hotelwestminster.html?label=gen173nr-1FCAEoggJCAlhYSDNiBW5vcmVmaDuIAQGYATHCAQN4MTHIAQzYAQHoAQH4AQKSAgF5qAID;sid=9b4fe19e9de68a3cb71714046bf9d64a;checkin=2017-05-12;checkout=2017-05-13;ucfs=1;highlighted_blocks=5190001_91458119_0_2_0;all_sr_blocks=5190001_91458119_0_2_0;room1=A;hpos=1;dest_type=city;dest_id=-1456928;srfid=49082c78468185e093631018c71495e7e11775c0X1;from=searchresults;highlight_room=#hotelTmpl
Would just take a look at the url and see that only this part is needed:
https://www.booking.com/hotel/fr/hotelwestminster.html
Or that this:
https://www.reddit.com/r/AskReddit/comments/68sgew/you_awake_one_morning_to_find_you_have_10_skill/"
Is just a sugarcoated version of this:
https://www.reddit.com/r/AskReddit/comments/68sgew
- Benjamin_Dobell 9y agoOh, but distributing links with tracking tokens attached is a really great way to mess with sites that track users: Well, we've had one user who really liked the new content. They viewed it 15,323 times... waaaaaait, damn it!
- dafrankenstein2 9y agonice entertainment
- a3n 9y agoI habitually remove tracking and other non-essential cruft from shared URLs, for readability and for politeness to my correspondents. I don't think it's polite to associate their IP with my tracked activity.
- paulryanrogers 9y agoDo you have any tools to automate that process?
- a3n 9y agoNot really. I use the Uppity extension in Firefox. So if Uppity shows me: http://fortune.com/2017/05/02/donald-trump-wall-street-elite/?xid=gn_editorspicks&google_editors_picks=true http://fortune.com/2017/05/02/donald-trump-wall-street-elite/ http://fortune.com/2017/05/02/ http://fortune.com/2017/05/ http://fortune.com/2017/ http://fortune.com/ http://www.fortune.com/ Then I pick select the second one from the top, let it load to be sure I got a usable URL, then use that in my email. This is probably ideal, since anything more automated would probably get it wrong often enough that I'd go back to doing just this. Firefox: Uppity https://addons.mozilla.org/en-US/firefox/addon/uppity/ https://addons.mozilla.org/en-US/firefox/addon/uppity/ Firefox: Navigate Up WE https://addons.mozilla.org/en-US/firefox/addon/navigate-up-we/ https://addons.mozilla.org/en-US/firefox/addon/navigate-up-w... Chrome: Up https://chrome.google.com/webstore/detail/up/iohgglcbddjknnemakghbjadinmopafl https://chrome.google.com/webstore/detail/up/iohgglcbddjknne... (And what is up with those chrome store URLs?)
- discreditable 9y agoAmazon is another great example. https://www.amazon.com/Cat-Facts-Marcus-Schneck/dp/0880295589/ref=sr_1_1?ie=UTF8&qid=1493754913&sr=8-1&keywords=cat+facts can become https://amazon.com/dp/0880295589/
- electroly 9y agoAmazon has their own link-shortener that you get by clicking "Share". Those links look like: http://a.co/a0GORjY http://a.co/a0GORjY
- namanyayg 9y agoWhich is actually just https://www.reddit.com/68sgew
- jedberg 9y agoWhich is really just https://redd.it/68sgew
- 19eightyfour 9y agoThis would be great to achieve in code. I'm not confident of being able to do that now, sans machine learning or something like that. And I don't have any strong ideas about how to do the kind of semantic shortening that we as humans are mostly able to successfully do. But I think it would represent a kind of ideal. And if I was able to do what I'd like to include it in this code.
- 19eightyfour 9y agoIf you have any ideas about how to do this to improve the compression please submit a PR!