Hacker News new | ask | show | jobs
by jwilk 2878 days ago
An AMP document is required to contain:

  <link rel="canonical" href="...">
pointing to the regular HTML document.
1 comments

Except that doesn't put a physical link in the document. Why should I have to dig into the source code of the page just to find the link to the normal page?
Some non-mainstream browsers (ELinks at least) make <link>s visible. This is occasionally useful, but most of the time it just wastes space. :-/

You might want to use this web extension to make automatic AMP → HTML redirects:

https://github.com/da2x/amp2html

Or you could use this bookmarklet:

  javascript:window.location=document.head.querySelector('link[rel="canonical"]').href