News for hackers. Stuff that matters.
Re:Posterous silently changes all external links to affiliat... by NathanKP on Friday April 30, 2010 @05:51PM (#1309519)
I couldn't repeat the link copying trick mentioned in the article. When I right clicked on the link and copied it there was just google.com, no affiliate link.

I can see the viglink JavaScript in the source code for the page, though. Yet the dynamic DOM inspector shows that the link href has not been changed, nor is there an onclick handler added. Perhaps it does not work on Safari, or only works for specific users?

Re:Posterous silently changes all external links to affiliat... by ash on Friday April 30, 2010 @06:25PM (#1309615)
(it works for me)

I've checked Chrome Developer Tools. It does its magic via click event, installing vl_mC function as a listener.

Re:Posterous silently changes all external links to affiliat... by ErrantX on Friday April 30, 2010 @06:00PM (#1309541)
I get the affiliate link when copying in Google Chrome on XP.
Re:Posterous silently changes all external links to affiliat... by NathanKP on Friday April 30, 2010 @06:01PM (#1309547)
Ah, so it may only work on specific browsers. Safari seems immune.
Re:Posterous silently changes all external links to affiliat... by chris24 on Friday April 30, 2010 @07:59PM (#1309794)
The copy link trick only works on certain browsers. I'm using Safari, and copy link copies the actual link, not the affiliate link. Clicking it, however, takes me through the affiliate link.

Seems to me like some browsers take the URL that gets opened through the click event when you copy the link, but Safari does not.

Re:Posterous silently changes all external links to affiliat... by ash on Friday April 30, 2010 @06:45PM (#1309654)
From drivingmenuts comment:

Copied the link and pasted into the address bar in Safari - no change. However if I right-click, and choose Open Link in New Window, it briefly flashes over to VigLink.

Re:Posterous silently changes all external links to affiliat... by aeontech on Friday April 30, 2010 @05:57PM (#1309533)
I would guess because a google.com link is not a link to a product, hence, there's no affiliate code for it in viglink databases? Try an amazon link perhaps?
Re:Posterous silently changes all external links to affiliat... by NathanKP on Friday April 30, 2010 @05:59PM (#1309537)
The author of the post specifically says that he can copy the google link and see an affiliate link.
Re:Posterous silently changes all external links to affiliat... by marcusbooster on Friday April 30, 2010 @06:07PM (#1309567)
I also got the mangled link, Chrome on Ubuntu 9.10... right click > Copy Link Address.
Re:Posterous silently changes all external links to affiliat... by inerte on Friday April 30, 2010 @06:02PM (#1309550)
I got the mangled link. Opera 10.52 on Windows XP.
Re:Posterous silently changes all external links to affiliat... by NathanKP on Friday April 30, 2010 @06:07PM (#1309568)
It didn't work for me in Opera 10.10 on Mac OS X.
Re:Posterous silently changes all external links to affiliat... by ashishbharthi on Friday April 30, 2010 @06:09PM (#1309571)
No affiliate link for me on Safari on Win XP.