News for hackers. Stuff that matters.
Re:How not to do URL redirects (… the way Quora does) by entropyneur on Thursday January 19, 2012 @10:30AM (#3484849)
The best way to do it is probably to track clicks on outbound links using javascript.
Re:How not to do URL redirects (… the way Quora does) by stevendaniels on Thursday January 19, 2012 @10:48AM (#3484932)
Aren't there a few cases when this method won't work?
Re:How not to do URL redirects (… the way Quora does) by entropyneur on Thursday January 19, 2012 @11:28AM (#3485143)
Are you referring to the fact that the browser will interrupt your tracking request because it already started loading the linked page? I haven't really tried, but I believe this can be dealt with if your server-side code expects it to happen.