3 ms·
To use AMP you need to load JavaScript from the AMP CDN, which is operated by Google. From <https://github.com/ampproject/amphtml/blob/master/spec/amp-html-form
by atdt 11y ago
To use AMP you need to load JavaScript from the AMP CDN, which is operated by Google. From <https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#amp-runtime> https://github.com/ampproject/amphtml/blob/master/spec/amp-h...:
> The AMP runtime is loaded via the mandatory <script src="https://cdn.ampproject.org/v0.js"></script> https://cdn.ampproject.org/v0.js"></script> tag in the AMP document <head>.
So you are handing over the security of your site and your user's privacy to Google.
- whyagaindavid 11y agoyou can also host it yourself. See github downloads.
- fiveoak 11y agoYou could also use a subresource integrity check if you are worried about the security but still want to use Google's hosted version.