Yahoo shares rose as much as 4 percent-plus in after-hours trading after the company reported that its third-quarter earnings topped the forecast of analysts, even though revenue and per-share profit fell from the period a year earlier.