In late morning trade, Yahoo was up 2.99 per cent at USD 27.87.
The comScore survey showed Yahoo edged past Google with 195.6 million unique US Web visitors. It was the first time Yahoo was on top since May 2011. The figures exclude Yahoo's newly acquired Tumblr blog sites.
The report provides a modest victory for Yahoo chief executive Marissa Mayer, who moved from Google a year ago. But Yahoo still trails Google in revenues and advertising, particularly in the key search segment.
A comScore survey earlier this month on search engines showed Google on top with a commanding 67 percent market share, followed by Microsoft with 17.9 per cent, and Yahoo in third place with 11.3 per cent. Still, Paul Ausick at 24/7 Wall Street said the new figures are significant.
"The rankings are worth more than just bragging rights, too," he said.
"Yahoo has taken over the top spot in comScore's Ad Focus rankings as well with an 87.2 per cent reach. That means that a page owned by a Yahoo site was viewed by 87.2 per cent of the 225 million total Web visitors in July. That is well ahead of Google's 80.6 per cent reach. And that translates into higher ad rates and more revenue for Yahoo."
Last month, Yahoo said its second-quarter profit rose sharply from a year ago, but revenues lagged. Net profit rose 46 per cent from a year ago to USD 331 million, slightly better than expected, but revenues excluding payments to partners fell one percent to USD 1.07 billion.