A little background: I've been using the uBlock Origin ad blocker with Firefox with very good results. I've found my web browsing experience to be much faster than using AdBlock Plus. However, I've found that in outlook.com and yahoo.com web-based email, the ads are removed, but there's this big empty area on the right side, which I'd like to see collapsed with a corresponding widening of the inbox message display. In the new Yahoo email, this is especially annoying. I'd been using the Yahoo "classic" email to avoid this problem, but they are forcing the new version on all users on Jan. 31, 2019. This newer version has the "blank area on the right" problem. There is an "expand" button you can click to expand the inbox, but it keeps snapping back to its narrow state - at least when using uBlock Origin in Firefox.
With a little bit of web searching, I found a reddit post in which a user recommended an add-on for Firefox called "
Webmail Ad Blocker". I installed it, and it works a charm in both outlook.com and yahoo.com web-based email. I was especially glad to find it because of the situation with Yahoo forcing the new email version on everybody on Jan. 31.
I still use uBlock Origin for general-purpose ad blocking, but this Webmail Ad Blocker is just the icing on the cake.