Amp html 当document.referer为“时,${documentreferer}为空;https://www.google.com/"

Amp html 当document.referer为“时,${documentreferer}为空;https://www.google.com/",amp-html,Amp Html,查看AMP文档()会发现documentreferer变量应该反映JSdocument.referer 而当页面的文档时,documentreferer似乎会报告其他域(如:www.twitter.com、t.co、linkedin.com等)的正确值。referer值为“”documentreferer为空。我找不到任何文件表明www.google.com域名有任何额外的警告。AMP文件是准确的。对“”没有例外 值得一提的是,一些AMP标签(如您的预期结果是什么?根据文档,我希望AMP文章的文

查看AMP文档()会发现
documentreferer
变量应该反映JS
document.referer


而当页面的
文档时,
documentreferer
似乎会报告其他域(如:www.twitter.com、t.co、linkedin.com等)的正确值。referer
值为“”
documentreferer
为空。我找不到任何文件表明www.google.com域名有任何额外的警告。

AMP文件是准确的。对“”没有例外


值得一提的是,一些AMP标签(如

您的预期结果是什么?根据文档,我希望AMP文章的
文档参考者
”https://www.google.com/“
当这是引用URL时。