You are reading a single comment by @Velocio and its replies. Click here to read the full conversation.
  • Looking into it properly, it looks like Facebook do exactly this to protect users from spam/bad links. Link

    They describe simply doing this (if you're using jQuery):

    function linkShim($link) {
    
    	var dest = $link.data('href'),
    		via = $link.attr('href');
    
    	$link.on('mouseover', function() {
    
    		this.href = dest;
    
    	}).on('mousedown', function() {
    
    		this.href = via;
    
    	});
    }
    
    $('a.external').each(function() {
    	linkShim($(this));
    });
    

    Although, what you say about Google's penalisation for it sounds most likely correct — I can't find any decent/official word on it anywhere?

    Hmmm...

About

Avatar for Velocio @Velocio started