Deprecate download in ad frames without user gesture
- Category
- Security
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- Start prototyping
WPT details: Web platform tests are not used as getting AdTagging to work there might be difficult.
Summary
We plan to prevent downloads initiated from ad frames that lack a user gesture ('drive-by downloads'). Removal is expected in Chrome 76.
Motivation
Downloads don't make sense with ads. It happens very rarely in practice and is also difficult to reproduce, which implies that a very small amount of ads are doing automatic downloads. Blocking downloads in ad frames without user gestures will make the web more secure. Apart from security concerns, it would be a more pleasant user experience for a click to trigger a download on the same page, compared with downloads started automatically when landing at a new page, or started non-spontaneously after the click.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/approval?id=929911
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=deprecate-download-in-ad-frames-without-user-gesture
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Deprecate%20download%20in%20ad%20frames%20without%20user%20gesture
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Deprecate%20download%20in%20ad%20frames%20without%20user%20gesture
- Baseline status: https://webstatus.dev/?q=Deprecate%20download%20in%20ad%20frames%20without%20user%20gesture
Docs: https://docs.google.com/document/d/1fBa8nwvb9g21KTji_kIDHzd7FjCb72pVf33MSb9jSWY
Explainers: https://docs.google.com/document/d/1fBa8nwvb9g21KTji_kIDHzd7FjCb72pVf33MSb9jSWY