gwern comments on Links passing through api.viglink.com? - Less Wrong

5 Post author: Document 27 April 2013 12:39PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (20)

You are viewing a single comment's thread.

Comment author: gwern 27 April 2013 10:20:17PM 3 points [-]

See http://lesswrong.com/lw/40p/proposal_all_amazon_hyperlinks_get_less_wrongs/

(Second hit in Google for "viglink site:lesswrong.com".)

Comment author: Document 28 April 2013 02:16:38AM 0 points [-]

Yes; I use that code on Amazon myself. Is there a point in particular you want to make about it?

Comment author: gwern 28 April 2013 02:21:03AM 1 point [-]

Um... it explains why the Viglink stuff is there? Which is what you made a post to ask?

Recently, though, I've noticed that LW is replacing off-site links with indirect links, passed through the domain api.viglink.com. This means I can't just glance at the URL to see where it points; I have to either open it or paste it into the address bar and scroll through it looking for the embedded URL of the actual link. Is it important for it to do that?

Comment author: Document 28 April 2013 02:25:12AM 0 points [-]

Could you quote the particular passage that explains why all links to any external site are being intercepted and passed through api.viglink.com? Or did you mean to link a different Google hit? I thought I searched the site before asking the question, but I may have neglected to.

Comment author: gwern 28 April 2013 02:32:21AM 1 point [-]

??? That page is exactly on point, as is the very first comment. What exactly don't you understand here?

Comment author: Document 28 April 2013 02:48:17AM 0 points [-]

Everything I see relates to appending a Viglink code, and only to links to Amazon. Again, could you quote the part I'm overlooking?

Comment author: gwern 28 April 2013 03:29:53AM 1 point [-]

Er, from the first comment, the one I mentioned:

Back in August 2010, I helped install an even more universal solution in the form of VigLink to experiment and see if it would work well for us.

What, exactly, did you think 'even more universal' than an Amazon referral code meant?

Comment author: Document 28 April 2013 03:45:43AM *  0 points [-]

I thought it meant more universal than lukeprog's proposed pseudocode; i.e., something guaranteed to work for all Amazon links (though as the replies point out, not when you open them in a new tab or window). Thanks for providing the quote.

(Also, to be pedantic: that's the most recent top-level comment, not the first. You might have LW set to sort by New or another setting on your browser.)

Comment author: Kaj_Sotala 28 April 2013 06:50:19PM 3 points [-]

(It's also the top one if you sort comments by "Best".)