When you click on links and e-mail button it opens in Internet Explorer (IE)?
Your answer is: How do I make yahoo open links and emails using Firefox instead of Internet Explorer (IE)? or How to make links sent through Yahoo Messenger open in Firefox?
The Solution is simple: Yahoo Messenger -> Preferences -> General -> uncheck checkbox: Open web links in a new browser window
If you have any question => comment.