Question

I was exploring google search results and saw this as link to navigate if clicked on link of search. for example if i search ASD in google we get results and if we right click the blue heading and inspect element then we see that this link.

 <a href="http://www.asd-cr.com/" class="l" onmousedown="return clk(this.href,'','','','39','','0CEEQFjAIOB4')">
Was it helpful?

Solution

clk is a function Google has defined somewhere in their included javascript files.

What it actually does is probably register your click as you click on, for tracking purposes.

How exactly it works is hard to say without doing a thorough analysis of the included javascript files, which isn't easy, as they've been minified (that is, comments and whitespace removed so they load faster).

OTHER TIPS

It depends on the clk() function.

And, google may change the html output, so as a general rule, don't depend on the html.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top