javascript 是否可以使用 Chrome 欺骗用户代理和操作系统?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25562286/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is possible to spoof user-agent and OS with Chrome?
提问by Deep Blue
What are the options to block the methods bellow with Chrome?
使用 Chrome 阻止以下方法的选项有哪些?
navigator.appVersion
navigator.appVersion
Info os.name
Info os.name
as I was successfully profiled in
因为我成功地在
http://browserspy.dk/browser.php
http://browserspy.dk/browser.php
I′d like to hide Browser and OS in order to avoid exploits.
我想隐藏浏览器和操作系统以避免漏洞利用。
回答by KyleMit
You can change the User Agent string in Dev Tools:
您可以在开发工具中更改用户代理字符串:
回答by David
You can change the User-Agent string Chrome sends to the servers. This is explained here.
您可以更改 Chrome 发送到服务器的用户代理字符串。这是解释here。