MCPcopy Create free account
hub / github.com/ampproject/amphtml / getUserAgent

Method getUserAgent

src/core/window/interface.js:48–50  ·  view source on GitHub ↗

* @static * @param {Window} win * @return {string}

(win)

Source from the content-addressed store, hash-verified

46 * @return {string}
47 */
48 static getUserAgent(win) {
49 return win.navigator.userAgent;
50 }
51
52 /**
53 * @static

Callers 2

getFingerprintFunction · 0.80
getFingerprintFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected