Created
March 13, 2019 21:55
-
-
Save reatlat/99c681550f2c88d1c0236744f68f4280 to your computer and use it in GitHub Desktop.
Replace userAgent to new one
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// UserAgent == iPhone6 | |
Object.defineProperty(navigator, 'userAgent', { | |
get: function () { return 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25'; } | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment