4 ms·
but does this work with AMP pages that restrict the javascript?
by Tepix 10y ago
but does this work with AMP pages that restrict the javascript?
- buro9 10y agoAMP is "HTML with some restrictions". Speaks nothing of HTTP (otherwise they could've done the right thing and added a "text/html;amp=1" content-type). In theory this should still work: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-... But I doubt that Google's AMP cache will respect existing headers (the very nature of the cache stuff means that they won't, but what they will do to non-cache headers on an item is undefined AFAIK and so they will probably just strip them).
- magicalist 10y agoa quick look at an amp page (from google's cache) shows it's being served with x-frame-options:SAMEORIGIN, so looks like the linkis thing won't work with them.
- gondo 10y agoparent comment mentioned service such as http://linkis.com/ http://linkis.com/ what i was reacting to. i doub't that you can use linkis.com with AMP