Skip to main content

Questions tagged [browser-detection]

Detecting the type and version of the browser the user uses to view the webpage.

browser-detection
0 votes
2 answers
540 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')...
user avatar
0 votes
1 answer
2k 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 (...
Liam's user avatar
  • 20.5k
1 vote
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 ...
dB''s user avatar
  • 8,100
2 votes
2 answers
10k 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 ....
Rounin's user avatar
  • 28.7k
0 votes
1 answer
443 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 ...
dan-kli's user avatar
  • 719
0 votes
1 answer
764 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 ...
Bill Bronson's user avatar
0 votes
1 answer
966 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) ...
Guest360's user avatar
0 votes
1 answer
389 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 ...
GAV's user avatar
  • 1,213
-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.
Faris Kapo's user avatar
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: ...
Penfold's user avatar
  • 11
2 votes
0 answers
85 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 ...
arderoma's user avatar
  • 407
1 vote
1 answer
720 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
Anshuman Chatterjee's user avatar
1 vote
0 answers
412 views

Is my Chrome driver detected and refused by EToro server?

I try to log in a etoro with Chrome driver but an error message appears on the screen. However I manage to do it very well by hand. USER = config.username PWD = config.password driver = webdriver....
Revolucion for Monica's user avatar
0 votes
1 answer
917 views

how to let my website open only on specific browsers

I want my website to open only in these selected browsers (Chrome, FireFox, Safari, Opera & Edge). Can't figure out how i can make it happen, because the userAgent gives these strings for each ...
naveesh gupta's user avatar
0 votes
0 answers
14 views

Using jQuery to detect browser [duplicate]

Question: I can predict both Chrome and Safari using $(document).ready(function(){ $.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase()); /* Detect Chrome */ if($.browser....
Alfha's user avatar
  • 117

15 30 50 per page
1
2 3 4 5
35