News for hackers. Stuff that matters.
Re:Chrome will stop displaying ads that are repeatedly flagg... by incognito92735 on Tuesday February 13, 2018 @11:11AM (#16368205)
> Ads that redirect the parent frame.

Putting the ad in an iframe without the allow-top-navigation[0] sandbox permission could prevent that. Or if the ad naturally consists of an iframe then a browser extension could intercept the iframe load and add the equivalent CSP rule[1]. Or google could do that themselves. I think they would still be allowed to open in a new tab.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/if... [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...

There are no comments on this comment yet.