ampproject / ampproject/amphtml

Auto redirecting from AMP to non-AMP allowed?

Open
#24,486 5 comments 0 reactions 1 assignee Claimed by @kristoferbaxter View on GitHub
Component: amp-iframe Customer: MSC P2: Soon Stale Type: DevX Type: Feature Request WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Using an amp-iframe with the [sandbox attribute](https://amp.dev/documentation/components/amp-iframe/?referrer=ampproject.org#attributes), one can give his iframe the "maximum sandboxed" privileges, which also include the privilege to redirect. So that means one can build a contentless temporary splash screen using AMP and then redirect the user to their site from the cache-served AMP viewer.
I personally have no opinion but just want to know, should that be ok?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.