What Does Your User Agent Say About You?


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.

The user agent string can be accessed with JavaScript on the client side using the navigator.userAgent property.

A typical user agent string looks like this: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0".


User Agent String

Browser Data

Mobile Phone User Agent

Danielle Fletcher
• Tuesday, 05 July, 2022
• 9 min read

The landscape of mobile browsers is quite complex, with several major players (pre-installed in most cases) and a number of locally popular contenders. While all phones come with pre-installed browsers, both Google Play and Apple App Store offer a number of alternative browsers, some focusing on speed and lightness, others on saving bandwidth and blocking ads, and an ever-increasing amount claiming to increase privacy and reduce a users' mobile digital footprint.

desktop agent user browser mobile switcher icon websites access using toolbar firefox onto drop iphone ilicomm


A simple regex solution searching for keywords will struggle in terms of accuracy and detection speed. It offers a patented algorithm that detects and identifies all devices requesting online content through parsing UA strings based on a constantly updated, massive list of connected devices.

From a business perspective, apps complement mobile and desktop sites. Apps often use the same online resources as the website like RESTful APIs, images or videos.

The Chrome (or Chromium/Blink-based engines) user agent string is similar to Firefox’s. For compatibility, it adds strings like HTML, like Gecko and Safari.

The Opera browser is also based on the Blink engine, which is why it almost looks the same, but adds “Or/”. In this example, the user agent string is mobile Safari’s version.

This page displays your Sergeant String and Screen Resolution. This is a very basic output of the Sergeant also referred to as simply UA.

firefox spoof agent android mobile phone step

Sites are able to detect your UA and redirect to a more fitting page for your browser if desired. UAS also tell the sites you're visiting some browser related software which you may have installed.

So if we had a special section for Vista users, we could redirect this person based on the Windows NT 6.0 string to a subsection in our site related strictly to Vista. UA scan be blank, or contain custom information like a URL to a site that might promote a particular browser or script.

The Microsoft Edge DevTools provide a collection of features to help you emulate mobile devices. Instead, you simulate the mobile user experience from your laptop or desktop.

When in doubt, your best bet is to actually run your page on a mobile device. You may view, change, debug, profile, or all four while you interact with the code.

Choose Toggle device emulation () or choose To customize and control DevTools (...) > Device emulation to open the UI that enables you to simulate a mobile viewport. By default, the Device Toolbar opens in Responsive Viewport Mode.

spoof agent android user phone mobile firefox step

To quickly test the look and feel of your page across multiple screen sizes, drag the handles to resize the viewport to your required dimensions. You may also enter specific values in the width and height boxes.

Choose More options > Show media queries. Choose a breakpoint to change the width of the viewport so that the media query gets triggered.

The following table describes the differences between the available device type options. OptionRendering methodCursor convents triggered Mobile Mobile Circle touch Mobile (no touch) Mobile NormalclickDesktopDesktopNormalclickDesktop (touch)DesktopCircletouchIf the Device Type list is not displayed, choose More options > Add device type.

Ensure you test how quickly your page loads and how it responds at different internet and CPU speeds. Mid-tier mobile simulates fast 3G and throttles your CPU.

All the throttling is based upon the normal capability of your laptop or desktop. If the Throttle list is hidden, your Device Toolbar is too narrow.

agent mobile apkpure

To access the Throttle list, increase the width of the Device Toolbar. To throttle the CPU only and not the network, complete the following steps.

Or select Control + Shift + P (Windows, Linux) or Command + Shift + P (macOS) to open the Command Menu, type 3G, and choose To enable fast 3G throttling or Enable slow 3G throttling. You may also set network throttling from the Performance panel.

Set network throttling from the Performance panel Choose To customize and control DevTools (...) > More tools > Sensors.

Choose To customize and control DevTools (...) > More tools > Sensors. If your page depends on the user agent string from a mobile device to render properly, use the Network conditions panel to provide different user agent strings.

Next to User agent, clear the Select automatically checkbox. Then, choose Custom... to select from a list of predefined user agent strings.


Use the following options to discuss the new features and changes in the post, or anything else related to DevTools. Send your feedback using the Send Feedback icon or select Alt + Shift + I (Windows, Linux) or Option + Shift + I (macOS) in DevTools.

• Activity ID: 00000000-0000-0000-7e3f-0180000400db • Error time: Tue, 29 May 2018 14:42:18 GMT • Cookie: enabled • User agent string: Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) Apple WebKit/605.1.15 (HTML, like Gecko) Version/11.0 Mobile /15E148 Safari/604.1 I also got Disallowed Provider Error when trying to connect to my Azure account for school.

Other Articles You Might Be Interested In

01: Linux Firefox User Agent String
02: Linux Mail User Agent
03: List Of Browser User Agent Strings
04: Bing Bot User Agent
05: Internet Explorer 11 User Agent String
06: Internet Explorer User Agent String Registry
07: Python Requests Header User Agent
08: Python User Agent Library
09: Python Wget User Agent
10: Linux Firefox User Agent String
1 -
2 -
3 -
4 -
5 -
6 -
7 -
8 -