chromebook刷机_如何为不支持Chrome操作系统的网站欺骗Chromebook用户代理

chromebook刷机

chromebook刷机

Title image of a Chromebook laying closed on a white background

Not all browsers handle websites the same, and if they don’t support your operating system or browser, you could be denied access. Luckily, you can spoof the user agent on Chrome OS to make it look like you use a completely different system.

并非所有浏览器都使用相同的网站,如果它们不支持您的操作系统或浏览器,则可能会拒绝您的访问。 幸运的是,您可以欺骗Chrome操作系统上的用户代理,使其看起来像您使用的是完全不同的系统。

Websites identify incoming connections by their user agent—a line of text sent in the HTTPS header with the browser name, version, and operating system. The reason they do this is to determine how to render the page specific to your device. One of the more common uses is to differentiate the desktop view from a mobile layout. However, sometimes you might need to spoof the user agent to trick a site that claims it’s incompatible with your browser.

网站通过其用户代理来识别传入的连接,即在HTTPS标头中发送的带有浏览器名称,版本和操作系统的一行文本。 他们这样做的原因是确定如何呈现特定于您的设备的页面。 最常见的用途之一是将桌面视图与移动布局区分开来。 但是,有时您可能需要欺骗用户代理,以欺骗声称与浏览器不兼容的网站。

如何更改您的用户代理 (How to Change Your User Agent)

To get started, open Chrome, click the three dots, and then select More Tools > Developer Tools. Alternatively, you can press Ctrl+Shift+I on the keyboard.

首先,请打开Chrome,点击三个点,然后选择更多工具>开发者工具。 或者,您可以按键盘上的Ctrl + Shift + I。

Click the three dots, point to More Tools, then click on Developer Tools

Click “Network Conditions,” located at the bottom of the Developer Tools pane.

单击“开发人员工具”窗格底部的“网络条件”。

Click the Network Conditions tab at the bottom of the Developer Tools pane

If you don’t see this option, click the menu icon, and then select More Tools > Network Conditions to enable it.

如果看不到此选项,请单击菜单图标,然后选择“更多工具”>“网络条件”以启用它。

If you don't see the Network Conditions tab, click the menu icon, select More Tools, then Network Conditions to alternatively open it

Under the User Agent section, uncheck “Select Automatically.”

在“用户代理”部分下,取消选中“自动选择”。

Uncheck the Select Automatically option

Chrome offers a long list of pre-configured user agent templates you can select from the drop-down menu.

Chrome提供了很长的预配置用户代理模板列表,您可以从下拉菜单中选择。

A list of all the preconfigured user agents in Chrome

If there is a specific user agent you want to use that isn’t listed in the drop-down menu, you can copy and paste a custom one into the text field underneath.

如果下拉菜单中没有列出您要使用的特定用户代理,则可以将自定义的用户代理复制并粘贴到下面的文本字段中。

Enter a custom user agent into the text field below the drop-down menu

Afterward—with the Developer Tool pane still open in the current tab—go to any website, and the user agent is set to the custom one you specified until you close Developer Tools.

然后,在“开发者工具”窗格仍在当前选项卡中打开的情况下,转到任何网站,并且将用户代理设置为您指定的自定义对象,直到关闭“开发者工具”为止。

Go to a website with the Developer Tools still open to view it using the specified user agent

You can even get a little creative with it!

您甚至可以获得一点创意!

Specified user agent indicating it's really just Chrome on Chrome OS

User agent spoofing is a temporary setting that stays active only while Developer Tools is open and in the current tab. After you close the Developer Tool, your user agent goes back to the default selection by Chrome.

用户代理欺骗是一个临时设置,仅在打开开发人员工具并在当前选项卡中保持有效。 关闭开发者工具后,您的用户代理会返回到Chrome的默认选择。

翻译自: https://www.howtogeek.com/425691/how-to-spoof-your-chromebook-user-agent-for-sites-that-don’t-support-chrome-os/

chromebook刷机

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值