514 questions
2 votes
0 answers
487 views
Can JavaScript detect the ChatGPT Atlas browser?
ChatGPT Atlas is a new browser which used the Chromium engine and identifies itself as Chrome using a user agent string like this: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (...
0 votes
0 answers
102 views
How to reliably detect Firefox to handle window closing behavior differently from Chrome?
I'm working on a web application where I need to detect if the user is on Firefox because it behaves differently when closing a specific window compared to Google Chrome. Right now, the codebase uses ...
3 votes
1 answer
325 views
Modifying User-Agent in Electron blocks Requests to a specific Domain
I am building a custom Electron-based browser and modifying the User-Agent dynamically for certain domains. However, after removing Electron/\* from the User-Agent for a specific demo gaming website, ...
0 votes
2 answers
2k views
Unable to detect underlying OS using JS
When I see the console of my browser, even if i am using windows, it returns Linux. function detectOS() { const userAgent = navigator.userAgent.toLowerCase(); if (userAgent.includes('win')...
0 votes
2 answers
3k views
Can JavaScript detect the Arc browser?
The Arc browser is a new browser which used the Chromium engine and identifies itself as Chrome using a user agent string like this: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (...
2 votes
2 answers
2k views
Detecting WebView2 vs standalone Edge browser?
I have a page that needs to render differently depending on whether it's being viewed from a WebView2 component (inside another application) or from a standalone Microsoft Edge browser. I tried ...
2 votes
2 answers
11k views
Dealing with Safari and .webp images in 2022
I've been waiting to use .webp images for a very long time. It's 2022, so, given: the image format has existed for a decade Chrome started supporting .webp in Jan 2014 Firefox started supporting ....
0 votes
1 answer
570 views
What is the best way to handle different browser features within a Blazor Server-Side Application?
EDIT: I initially only wanted to know how to detect different browsers in Blazor Server-Side and change the behaviour of my app accordingly. The answer to that can be found here: How to use the ...
0 votes
1 answer
887 views
How to detect specific browser version or higher (jQuery) [duplicate]
I know it's very easy to find out which browser the user is using to access my site. But how does it look like if I want to check the user browser for a certain version (or higher) in order to carry ...
0 votes
1 answer
1k views
Detect edge (chromium) browser using Javascript
On a specific website I am unable to detect if the browser is edge (chromium) because on that website I am getting following user agent on edge browser "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...
0 votes
1 answer
408 views
Uncaught ReferenceError when adding JS to app.js in Laravel
I have some browser sniffer code using the function detect.js. It works fine when not added to my project. Still, when I try to compile the JavaScript and add it to app.js, I get an error in the ...
-1 votes
1 answer
2k views
How to detect if Xiaomi's Mi Browser using JS [closed]
How to check using javascript if the user visiting my website is doing so using Xiaomi's native - Mi Browser.
0 votes
2 answers
1k views
Prevent Canvas Fingerprinting in DotNetBrowser
I am trying to get DotNetBrowser to not be identified using Canvas Fingerprinting. You can see details at this website: https://browserleaks.com/canvas I've tried turning off the following switches: ...
2 votes
0 answers
93 views
Checking browser using just CSS?
Is it possible to check browsers just with CSS? I have this code and it seems to work, it applies the .browser-warning when the browser is IE 10-11. I need to check if the browser is Safari in a ...
1 vote
1 answer
781 views
How to detect Installed Browsers on a Mac Machine using Node.js?
Need a node-js program which can detect the Installed Browsers(or Applications) on the local machine