Is it enough to look for the word "Chrome" in the UA string to determine if the browser is Chromium-based? Or are there non-Chromium-based browsers that use the word "Chrome" in their UA string that would invalidate this method of detection?
How to detect Chromium-based browsers based on UA string
363 Views Asked by Tom At
1
There are 1 best solutions below
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in CHROMIUM
- Why is it impossible to definitively know if your website is running as a PWA or as a website?
- Is it possible to save MHTML with scripts included?
- Chrome PDF print image aspect ratio incorrect - very apparent with small images - is there a workaround?
- How to turn off login pop-up on stackoverflow
- "Inconsistent WhatsApp Web Integration: Error with Manifest File Null Value Reading"
- Possible scroll bug with usage of overflow-hidden on body along with "sr-only" elements?
- How to solve Missing X server or $DISPLAY when trying to change the loaded website in Chromium
- Google Chrome for AWS Lambda as a layer
- Does Chromium pass URLs along with JS to V8?
- Chromium version on Puppeteer build
- Change the blue background of chrome devtool like before
- Native Messaging "Specified native messaging host not found" debugging
- PDF-documents not loading inside iframe in Chrome and Edge
- ReferenceError: ReadableStream is not defined using Puppeteer's page.pdf() on AWS
- Why is MediaQuery.of(context).size.height in Flutter detecting a larger height in Android chromium-based browsers?
Related Questions in SERVER-SIDE
- Process to Upload a run a Python Hello World script via IDE and accessed through browser
- Is a CDN service worth it for storing images or can I use the MongoDb and my server to serve them?
- Using SSE encryption of S3 using Terraform! how to specify server side encryption in terraform?
- Node.JS get audio waveform samples
- Yajra DataTables Search Not Working for Modified Column
- Problem with web request when converting Javascript to PHP
- Uncaught Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary...when I just initialized a next app
- QuickFix in Custom Language(Xtext) using Language Server Protocol
- Should I use "display: none" class or Javascript based conditional rendering for ISR or SSG Next.js
- MSW - nodejs setupServer, server.listen() is not starting mock server in monorepo angular 16
- This is my first flask code and i am getting an error?Can you recognize the errors and tell me the solution
- Setting http response code Vs throwing HTTP exception in NestJs
- Setting HTTPOnly cookie from server action OR server side API call
- How can I re-render a server side page based on a user session id? next14
- react js/ socket io server/slient side issue
Related Questions in USER-AGENT
- How can I override navigator.userAgentData?
- htaccess SetEnvIfNoCase User-Agent
- How can i get device name Like: iphone pro max, Samsung galaxy S20 Ultra, etc
- iOS targeting javascript does not work on Ipad, only iphone
- What userAgent do I need for the method to return true?
- firefox browser in mobile view is giving 504 gateway timeout response
- http-only cookie being set only after some time delay (chrome)
- Instagram not visible in useragent for newer iphone versions
- Ionic: unable to appendUserAgent
- user agent and data scraping with R
- Swift - How to get the Safari app's user agent string or build version programmatically?
- React Native okhttp user agent
- User Agent not showing in apache2 logs
- Are User Agents always in English?
- Open desktop version in iframe on mobile browser for embed Polarsteps
Related Questions in BROWSER-DETECTION
- Unable to detect underlying OS using JS
- Can JavaScript detect the Arc browser?
- Detecting WebView2 vs standalone Edge browser?
- Dealing with Safari and .webp images in 2022
- What is the best way to handle different browser features within a Blazor Server-Side Application?
- How to detect specific browser version or higher (jQuery)
- Detect edge (chromium) browser using Javascript
- Uncaught ReferenceError when adding JS to app.js in Laravel
- How to detect if Xiaomi's Mi Browser using JS
- Prevent Canvas Fingerprinting in DotNetBrowser
- Checking browser using just CSS?
- How to detect Installed Browsers on a Mac Machine using Node.js?
- Is my Chrome driver detected and refused by EToro server?
- how to let my website open only on specific browsers
- Using jQuery to detect browser
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
User agent parsing is not a reliable method of detecting a browser. Just see this list for thousands of user agent strings that just mash all browser strings together. Mainstream desktop browsers usually do not do this but many mobile ones do, especially on Android. Also, it's trivial to spoof this the user agent string.
Compare:
In almost all cases what you really want to do is feature detection. However, this required JavaScript. But given that close to 100% of browsers used by Real People™ support JavaScript and have it enabled, this should only be an issue in edge cases.