Or just, you know, block the ads for a fraction of the effort.
Fastmail isn't even under the control of your local firewall.
Then turn that function off [1]. There's no more security threat from well-known browser plugins from Mozilla's site than well-known packages from your OS's apt repo. And both are open source.