In my search results page, there are multiple links, some of which are primary results whereas others are related links. I need to differentiate between the primary results links and other links. The Google results page for "microsoft" is a good example.
If I use the object spy, there does not seem to be a common difference between the two types of links. I also looked at the source, but no use there either.
I am thinking, probably the text size could be used, but wanted to get the opinion here in the forum first.
My situation is somewhat similar to that in this post, but different in that there is no difference in attributes between the links.
I could not find any relevant articles in the KB either.
Since the search terms can vary, I cannot restrict the script to just one search term.
Re: Differentiating between similar links on a page
It worked. The classname is different between the main links and the other links, at least for Google search results.
The classname for the main results is "l" while for others either there is none or it is "q".