logoalt Hacker News

amluto • today at 5:16 PM • 1 reply • view on HN

It amazes me that site operators are willing to include ad networks in a way that gives them code execution.


Replies

cowlevel • today at 6:01 PM

There is no other way. Ad buyers don't trust you, so they run their own invisible captchas to verify the ad is displayed in a real browser.

You can declare that your own site is only going to run static image ads but then you lock yourself out of all ad marketplaces, which require arbitrary JavaScript, so how are you going to actually get ads.