Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ getDocumentReferrer
Method
getDocumentReferrer
src/core/window/interface.js:30–32 ·
view source on GitHub ↗
* @static * @param {Window} win * @return {string}
(win)
Source
from the content-addressed store, hash-verified
28
* @
return
{string}
29
*/
30
static getDocumentReferrer(win) {
31
return
win.document.referrer;
32
}
33
34
/**
35
* @static
Callers
1
isReferrerProxyOrigin_
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected