Yahoo, fending off a takeover bid from Microsoft, says profits tripled in the first three months of 2008.