A few minutes ago I created a thread about Chromium/Chrome. I didn't want to add this part there, so that Firefox users won't avoind this information, which hopefully they'll also find useful. By using the extension BlockSite Plus, and then going to the addon Options, select Invert list to whitelist, and then add a TLD (top level domain), such as *.com and then click Quick add, you'll be blocking access to any domain/URL, except those ending in *.com. This kind of approach is great to block access/redirects to malicious websites. It's not perfect, but for sure will prevent many infections as well.