fwiw making an offline analogy, I also live in a city where outdoor advertising signs are generally banned (with some exceptions like saying the land is for sale, or small ground-level signs with height/width restrictions at an entrance indicating which businesses are on a lot), so even on their own land/their own space, businesses putting up things like billboards would be spam and disallowed.
Without the malware part, there would obviously be no objection on the grounds that you're "free-riding" since there would be no measurement. But even simple images or text can be and frequently are a malicious attack on one's mind (e.g. soda/fast food ads, links to fraudsters), so even without a software component, it is good security posture to filter them.
The scripting capabilities of the web are meant for people like [0] to use. Using them for surveillance and propaganda distribution is abuse.