A user agent is a computer program representing a person, for example, a browser in a Web context.
Besides a browser, a user agent could be a bot scraping webpages, a download manager, or another app accessing the Web. Along with each request they make to the server, browsers include a self-identifying User-Agent HTTP header called a user agent (UA) string. This string often identifies the browser, its version number, and its host operating system.
Spam bots, download managers, and some browsers often send a fake UA string to announce themselves as a different client. This is known as user agent spoofing.
A typical user agent string looks like this: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0".
You can change it via Developer Tools menu which you can access by clicking the three-dot icon in the top-right corner of Microsoft Edge. In the early days of the internet, websites didn’t care what browser you used, because most pages were static.
But today’s dynamic websites often adapt to the operating system, browser, or screen size your device uses. An user agent is a string (line of text) that your browser sends to websites when you access them.
User agents are important because sites can use them to modify the content they send to your browser. For example, if you visit most modern sites in Internet Explorer 6, you’ll see a message that you need to upgrade your browser for proper compatibility.
User agents also come into play when browsing on a mobile device, so websites know to show you the mobile-friendly version of a page. Open Chrome’s Developer Tools by right-clicking anywhere and choosing To inspect, hitting Ctrl + Shift + I, or by pressing F12.
On the Network conditions tab, uncheck Select automatically and you can then choose a new user agent from the list. Note that this setting will revert to normal when you close the developer panel, and only applies to your current tab.
You can also change Browser profile from Desktop to Windows Phone to view the mobile version of webpages. You’ll need to enable the hidden Develop menu in Safari before you can change your user agent.
While there’s no quick toggle to change your user agent in the mobile versions of Chrome and Safari, you can easily make websites think your phone is a computer. On Safari for iOS, tap the AA button to the left of the address bar and choose Request Desktop Website.
You’ll find the same option in Chrome for iPhone by tapping the Share button at the top-right, followed by scrolling down and choosing Request Desktop Site. While swapping your agent can’t accommodate every possible real-world situation, it lets you get some basic testing done in a fraction of the time.
Further, if backward compatibility is important for your site, swapping your user agent to IE 8 is a lot easier than installing a copy of ancient browsers manually. Browsing mobile versions of pages means you only get the basics and aren’t wasting data on multimedia or other large items.
While not as common as it once was, sometimes you’ll come across websites that tell you Firefox doesn’t work with the page, or you must use Internet Explorer, or other similar warnings. Some people explain that they use these services to get around sites that block entire operating systems.
While there’s really no good reason for a site to block an entire OS, you could run into a page that complains about you using Linux. If you’ve used Windows all your life, you can jump around some sites and see if they look any different when using Mac or Linux.
Or change your user agent to an ancient version of Internet Explorer, then see how many sites still support it. Some browser-switching agents even allow you to pose as Google bot, the robot Google uses to crawl and index the web.
Changing the user agent string can be useful in certain scenarios when some website's functionality is locked down to the specific platform and you need to bypass the restriction. This allows developers to differentiate various device classes like tablets, phones, Desktop PCs and laptops, and more.
The user agent string can provide web servers some details about the user's operating system, and the browser version. For example, the download page on Microsoft's website checks the user agent of the browser.
If it reports the Windows operating system, the Media Creation Tool will be offered for download. However, if the user agent reports Linux, Android or iOS, you will see direct download links to ISO files.
Choose the desired web browser to change the user agent string. The list includes various versions of Internet Explorer, along with Opera, Safari, Firefox, and Chrome.
This feature is useful for SEO professionals, for example, to identify issues with cloaking which is against Google’s Webmaster Guidelines or auditing websites which has different look depending on the device. User agent is an HTTP request header string identifying browser, application, operating system which connects to the server.
Get our daily newsletter from SEJ's Founder Loren Baker about the latest news in the industry! The new Microsoft Edge running on Chromium isn’t yet here officially, but a leaked build allows us to try out the browser in anticipation of its highly-anticipated release.
Using the browser on a daily basis isn’t obviously recommended as experimental builds like this can’t by any means become your main driver. For many users, switching to a different user agent and thus emulating another browser is a method to bypass certain website restrictions that concern a specific app.
For example, if a website doesn’t support Chromium, you can very well change the user agent to mimic a different browser like Mozilla Firefox. The best example is Skype for Web, which doesn’t work in Firefox anymore, so Mozilla users need to switch to another user agent to connect to the service.
For those unfamiliar with this screen, it’s specifically supposed to provide developers with advanced tools that let them analyze code and website performance. Changing the user agent is actually considered a developer option that helps webmasters check their pages against potential compatibility issues with different browsers.
Over the past few years, mainstream browsers have all started including such functionality as a part of their developer console or within standard menus. Although uncommon, there is a chance for browser extensions to become hijacked for malicious purposes, which could be a risk to your security.
If you look or scroll down towards the bottom of this panel, you should see a User agent label, which includes a respective set of options. Here, you can select from a set of defined user agents or even enter your own custom user agent string.
If it’s your first time doing so, you should see a disclaimer stating that you’re entering risky territory that’s for advanced users only. If the preference isn’t there, right-click on a blank area of the page, hover New, and select the String option.
Craig is a long-time writer, coder, and marketer with years of experience in the technology and gaming spaces. Since 2008, he's worked remotely with some of the most notable publications in these industries, specializing in Windows, PC hardware and software, automation, and the like.
So, There are a very few users who actually want to change their web browser’s user agent. But, In short, An user agent is a software that provides information to a website about your browser, operating system, device etc.
It helps a website to deliver compatible and relevant contents to its visitors. Some websites deliver different contents for different operating systems, browsers and devices.
In that case, You may feel necessity to change web browser’s user agent or operating system id to windows. There are plenty of extensions or add-ons for all popular browsers to change its operating system, device and other information.
You can simply install it in your browser (Chrome of Firefox) and then start using it. After installing them, You should see a new icon in top right corner of browser.
In fact, Extensions and add-ons are the easiest way to changeuseragent. ChangeUserAgent in Chrome without Extensions: First, Visit a webpage.
Alternatively, You can right-click on blank area of webpage and choose To inspect. You will find them by clicking on Edit from the device list of drop-down.
Mozilla/5.0 (Windows NT 6.4; WOW64) Apple WebKit/537.36 (HTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 Edge /12.0 A full list of user agents can be found here: udger.com/resources/ua-list You can set value according to your preference.
If you want to get back the default user agent, Just right click on general.user agent.override preference and choose reset. You can easily change, browser type, device, operating system information from there.