
chromebook刷機

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 “Network Conditions,” located 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.
如果看不到此選項,請單擊菜單圖標,然后選擇“更多工具”>“網絡條件”以啟用它。

Under the User Agent section, uncheck “Select Automatically.”
在“用戶代理”部分下,取消選中“自動選擇”。

Chrome offers a long list of pre-configured user agent templates you can select from the drop-down menu.
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.
如果下拉菜單中沒有列出您要使用的特定用戶代理,則可以將自定義的用戶代理復制并粘貼到下面的文本字段中。

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.
然后,在“開發者工具”窗格仍在當前選項卡中打開的情況下,轉到任何網站,并且將用戶代理設置為您指定的自定義對象,直到關閉“開發者工具”為止。

You can even get a little creative with it!
您甚至可以獲得一點創意!

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刷機