Как поменять user agent в firefox
Перейти к содержимому

Как поменять user agent в firefox

  • автор:

Changing User-agent in browsers

User-Agent is a line that sends information to the site about the software used. Originally, websites used such data to identify the OS and browser version in order to correctly display embedded content. However, due to various reasons, early Web developers used different user agents for different browsers, and many users started faking their User-Agent value to view sites the way they wanted. Eventually developers started offering the option to change the User-Agent right in the settings. The User-Agent allows to determine the operating system, device you use to access the site (smartphone, laptop, tablet etc.), and features supported by your browser like ActiveX. If you need to change your User-Agent in Opera, Chrome, or Firefox, here is how you do it.

Warning!

Please take note that the User-Agent is required to correctly display sites that lack responsive design, since different browsers use different styles and scripts to display the same content. Actual data about various values of these parameters are easily found on browscap.org and in the end of this post.

How to change User-Agent in Opera

In Opera, click on the address field and type the following address: opera:config#UserPrefs|CustomUser-Agent. In the field that appears with the title «Custom User-Agent», set the needed value of user-agent. Scroll the window down and save the changes made. change-user-agent-in-browser-1In more recent versions of Opera, for example 43.0, this feature is disabled. We recommend to install the extension User-Agent Switcher that allows to change the value in a handy menu. change-user-agent-in-browser-2

How to change user agent in Google Chrome

Not all Chrome versions allow you to change your User-Agent easily. That said, the following guide works in all versions starting from 26. To change the User-Agent, click on the browser icon with the right mouse button, choose “Properties”, and in the new window, line “Start in”, type the key – -user-agent=””, and then in quotes the User-Agent you need. change-user-agent-in-browser-3Now click OK and launch Chrome. Alternatively, you can do the same by other methods, for example, by holding buttons Win and R, opening the “Run” window, and typing chrome – -user-agent=”needed value”. change-user-agent-in-browser-4To get to know the current value of this parameter, open the about local address: change-user-agent-in-browser-5Watch our video https://www.youtube.com/watch?v=u8Sy3c2K6VU

How to change user agent in Mozilla Firefox

Like Chrome, not all versions of Firefox allow for easy changing of this parameter. The following guide works for versions starting from 34. In the address bar, type about:config, and in a page that opens, create the parameter general.useragent.override. change-user-agent-in-browser-6Choose the type of the parameter “String”, and in a new window type the user-agent value you need: change-user-agent-in-browser-7Watch the video

List of various user agents

— Mozilla/0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 — Mozilla/5.0 (Windows NT 6.1; Win64; x86) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 — Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; Media Center PC 6.0; CMNTDFJS; F9J; InfoPath.3; rv:11.0) like Gecko — Opera 12.17 (Win 8 x64): Opera/9.80 (Windows NT 6.2; WOW64) Presto/2.12.388 Version/12.17 — Internet Explorer 11 (Win 8.1 x64): Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; ASU2JS; rv:11.0) like Gecko

Что такое User-Agent в браузере и как его изменить

User-Agent — это строка, передающая сайту информацию об используемом программном обеспечении. Первоначально такие данные применялись сайтами для идентификации версии ОС и браузера, чтобы корректно отображать встроенный контент. Однако по различным причинам на первых этапах создания веб-страниц разработчики делали их разными для разных браузеров, и многие пользователи стали подделывать юзерагент, чтобы смотреть сайты в нужном для них виде. Со временем разработчики встроили в свои программы опцию, позволяющую сменить User Agent прямо в настройках. User-agent дает возможность определить используемую операционную систему, устройство, с которого Вы зашли на сайт (смартфон, ноутбук, или планшет), а также поддерживаемые браузером функции, например, ActiveX. Если Вам требуется изменить User-Agent в Opera, Chrome или Firefox, то мы расскажем, как это можно сделать.

Внимание!

Имейте в виду, что User-Agent необходим для корректного отображения сайтов без адаптивного дизайна, так как разными браузерами используются разные стили и скрипты для отображения одного и того же содержимого. Актуальные данные о всевозможных значениях этого параметрам легко найти по адресу browscap.org, а также в конце нашей статьи.

Как поменять user agent в Opera

В браузере Opera кликните по адресной строке и наберите следующий адрес: opera:config#UserPrefs|CustomUser-Agent. В появившемся поле с названием «Custom User-Agent» установите нужное значение строчки user-agent. Прокрутите открытое окно вниз и сохраните внесенные изменения. user-agent-1В более новых версиях Оперы, например, в сборке 43.0, такая возможность отключена. Рекомендуем установить расширение User-Agent Switcher, которое позволяет менять рассматриваемую нами настройку из удобного меню. user-agent-2

Как поменять user agent в Google Chrome

Не все версии Chrome поддерживают легкую смену строки юзерагента. Тем не менее, приведенная ниже инструкция работает в версиях выше 26. Чтобы изменить user-agent кликните по ярлыку браузера правой кнопкой мыши, выберите «Свойства» и в новом окне допишите в строке «Объект» ключ —user-agent=»…», где в кавычках нужно указать необходимый Вам user-agent. Будьте внимательны, написание ключа читается так: тире тире user тире agent и т.д. Веб преображает написание двойного тире в один дефис. user-agent-3Нажмите «ОК» и запустите Хром. Также эту операцию можно выполнить и другими способами, например, одновременно зажать кнопки Win и R, а в диалоговом окне «Run» написать chrome —user-agent=»требуемое значение». Будьте внимательны, написание ключа читается так: тире тире user тире agent и т.д. Веб преображает написание двойного тире в один дефис. user-agent-4Узнать текущие данные этого параметра можно путем перехода по локальному адресу about: user-agent-5

Как поменять user agent в Mozilla Firefox

Как и в Хроме, не во всех версиях Firefox можно легко изменить рассматриваемый нами параметр. Приведенная инструкция действует для версий, начиная с 34. В адресной строке введите about:config и в появившейся странице создайте параметр general.useragent.override. user-agent-6Выберите тип создаваемого параметра «Строка» и в новом окне впишите нужное значение user agent. user-agent-7

Список различных user agent

— Mozilla/0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 — Mozilla/5.0 (Windows NT 6.1; Win64; x86) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 — Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; Media Center PC 6.0; CMNTDFJS; F9J; InfoPath.3; rv:11.0) like Gecko — Opera 12.17 (Win 8 x64): Opera/9.80 (Windows NT 6.2; WOW64) Presto/2.12.388 Version/12.17 — Internet Explorer 11 (Win 8.1 x64): Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; ASU2JS; rv:11.0) like Gecko

How to reset the default user agent on Firefox

A user agent tells websites what type of browser and operating system you’re using. This information helps the web server deliver content that’s compatible with your browser. If websites tell you that your browser is outdated or incompatible even though Firefox is up to date, an incorrect user agent may be the cause. This article explains how to fix problems with your Firefox user agent so that websites work properly.

Table of Contents

  • 1 User agent issues
  • 2 View your user agent
  • 3 Add-on issues
  • 4 Reset the default Firefox user agent

User agent issues

You can change Firefox’s user agent to trick websites into thinking that you’re using a different browser or operating system. Web developers might do this to see how their websites will appear on different systems and browsers. Sometimes, add-ons and other installations can change your user agent without your knowledge.

Websites may not display correctly or may show a message that your browser is outdated or incompatible, based on the detected user agent. It’s important to switch Firefox back to the default user agent so that websites work properly.

View your user agent

Fx57Menu

To view your user agent, click the Firefox menu button , click Help and select More Troubleshooting Information . This will open a page with the address about:support. The Application Basics section will show your current Firefox version and will include a User Agent entry. For example, the default user agent entry for Firefox 83 on Windows 10 (64-bit) would appear as:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

Note: If your user agent shows a previous Windows version, such as Windows NT 6.1 (Windows 7) instead of Windows NT 10.0 (Windows 10), make sure you are not running Firefox in Compatibility mode. You can open the Properties of the Firefox desktop shortcut from the right-click context menu. Check the Compatibility tab and make sure that the compatibility mode option is not selected.

Sites such as What is my user agent? (WhatIsMyBrowser.com) and What’s my user agent? (whatsmyua.info) can also show you the user agent detected by websites.

Add-on issues

Add-ons such as the User-Agent Switcher extension can change the user agent that websites detect. See if you can restore the default user agent in your extension settings. You can also temporarily restart Firefox with all add-ons disabled (see Diagnose Firefox issues using Troubleshoot Mode for details) and, if the problem goes away, disable or remove any add-on you think may be the cause. If you can’t resolve the problem this way, follow the steps below to reset the default user agent.

Reset the default Firefox user agent

You can reset your user agent as follows:

Warning: Changing advanced preferences can affect Firefox’s stability and security. This is recommended for advanced users only.

  1. Type about:config in the address bar and press Enter Return .
    A warning page may appear. Click Accept the Risk and Continue to go to the about:config page.
  2. Search for useragent by typing it into the Search preference name field.
  3. Click the ResetFx71aboutconfig-ResetButtonor DeleteFx71aboutconfig-DeleteButtonbutton on each of these preferences, if they exist:
  • general.useragent.extra.firefox
  • general.useragent.extra.productName – where productName can be the name of some third party software (e.g., microsoftdotnet)
  • general.useragent.locale
  • general.useragent.override
  • general.useragent.security

See Configuration Editor for Firefox for more information about using the about:config page to reset or delete preferences.

Note: If the above solution doesn’t resolve the problem, check whether you have the privacy.resistFingerprinting preference set to true and, if so, double-click on the preference to reset it to false . This setting can change the user agent and cause this type of issue. For more information, see Firefox’s protection against fingerprinting.

After resetting your user agent, you may need to restart Firefox and clear your cookies and cache:

Fx89menuButton

  1. Click the menu button to open the menu panel.
  2. Click History and select Clear Recent History…
  3. In the Time Range to clear: drop-down, select Everything.
  4. Below the drop-down menu, select both Cookies and Cache. Make sure other items you want to keep are not selected.
  5. Click OK Clear Now .

These fine people helped write this article:

Как изменить User Agent в Firefox

Каждый браузер имеет буквенно-числовую последовательность, которая его определяет в глазах сайтов и других площадок. Часто такие сервисы ограничивают доступ для определенных платформ. Как этого избежать? Сегодня мы поговорим о том, как изменить User Agent Firefox, рассмотрим его особенности и несколько способов работы с ним.

Коротко о главном

User-Agent (UA) – строковое значение, идентифицирующее копию браузера и передает определенные данные серверам. Изменение этих значений важно для получения доступа к информации, закрытой по каким-то причинам.

Эта процедура активно используется разработчиками приложений для оптимизации своих проектов, их адаптации под разные платформы.

Инструкция

Служба поддержки браузера Мозилла предлагает пользователям сделать сброс строки кода до «заводского» параметра. Для этого нужно:

  1. В поисковой строке ввести about:config, согласиться с риском лишения лицензии этой копии приложения.Вход в about-config для браузера Firefox
  2. В открывшемся окне сформировать запрос по слову useragent.
  3. Выделить каждый измененный параметр, вызвать ПКМ диалоговое подменю и выбрать пункт «Сбросить».Сбросить User Agent в параметрах Firefox

Также потребуется очистить историю посещений и куки.

Приведенный выше способ далеко не единственный, поэтому двигаемся дальше. Для удобства восприятия разобьем дальнейшее повествование на несколько логических блоков.

Изменение в настройках Firefox

Для коррекции буквенно-числовой последовательности нужно выполнить несколько шагов инструкции, представленной ниже:

Настроить строку User Agent в параметрах Firefox

  1. Формируем поисковый запрос по фразе about:config, принимаем во внимание риск лишения лицензии этой копии браузера.
  2. Затем в пустое поле вводим general.useragent.overridepreference.
  3. Если результаты отрицательные, то самостоятельно создаем этот параметр.
  4. Вызываем диалоговое окно нажатием ПКМ, затем – «Создать» и «Строка».
  5. Называем его аналогично поисковому запросу, а значение даем ему из перечня UA, представленного на сайте http://www.useragentstring.com/index.php.

Измененный параметр активен до момента внесения новых правок или его полного удаления, продолжает работу после перезагрузки или выключения Firefox.

Используем расширения

Эта процедура экономит уйму времени и не уступает по эффективности методам, описанным выше. Рассмотрим особенности работы с дополнениями на примере User-Agent Switcher:

  1. Открываем эту ссылку https://addons.mozilla.org/ru/firefox/addon/uaswitcher/?src=search.
  2. Кликаем на кнопку «Добавить».Добавить UASwitcher в Firefox
  3. Инструментарий становится доступным в виде иконки в правом верхнем углу экрана.
  4. Нажатие на ярлык вызывает выпадающее меню, где можно выбрать приемлемый вариант.Активация UASwitcher в Firefox

Расширение недавно получило глобальное обновление, так как функционал устарел и не был заточен под новые версии Mozilla Firefox.

Подведем итоги

User-Agent упрощает деятельность пользователя, связанную с поиском информации, закрытой для определенных платформ. Также исходный код помогает разработчикам оптимизировать работу приложений и утилит, адаптировать их под новые платформы.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *