It will actually increase emissions, since (a) advertising networks are extremely adept at detecting click fraud and will now downweight showing ads on pages about climate change and (b) botnets consume a ton of energy, and therefore release more greenhouse gases.