html - How does Google change the urls in search result page -
if search in google (e.g. stackoverflow), in search result page can see stackoverflow item result.
when hover mouse in stackoverflow item browser shows it's anchor element refers stackoverflow.com . when right click on item , click on copy link address url this .
how google it?
<a id="changeme" href="http://foo.com">click me</a> as mentioned in comments guess simple as:
$('#changeme').mousedown(function(){ $(this).attr('href', "http://bar.com") });
Comments
Post a Comment