Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
54 views

I'm trying to detect and differentiate users of Perplexity's Comet browser from regular Google Chrome users on my web application. However, the user agent string I receive is: Mozilla/5.0 (Macintosh; ...
user28817404's user avatar
0 votes
0 answers
101 views

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 ...
AceCalibur's user avatar
0 votes
2 answers
2k views

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
2 votes
2 answers
2k views

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,440
0 votes
1 answer
568 views

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 ...
hyt's user avatar
  • 992
0 votes
1 answer
1k views

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
-1 votes
1 answer
2k views

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
2 votes
0 answers
93 views

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
  • 427
1 vote
0 answers
502 views

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
0 answers
20 views

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
  • 127
1 vote
1 answer
3k views

I am using the code below: Request.Headers["User-Agent"].ToString() But it's giving me all browser details despite I only want the browser name. Can anyone please help me with this problem?
Queen's user avatar
  • 39
0 votes
0 answers
437 views

My question is about detecting ios version from server-side. Based on ios version , I will change content at cshtml. I want to check if the version is greater or equal to ios13. Pseudo code is like ...
Ozmen's user avatar
  • 139
0 votes
0 answers
111 views

I want my website to recognize when it is loaded in safari and to follow a given css that works for safari. For example, a css rule may work in any other browser but not safari; so when loaded in ...
D.Davis's user avatar
  • 25
0 votes
0 answers
122 views

I've tried the following solutions but it always tells me that the browser is NOT internet explorer even if I am using Internet Explorer 11. Note that the following solutions are what I saw in the ...
iPhoneJavaDev's user avatar
0 votes
0 answers
54 views

Based on my personal philosophy of Internet Explorer as a browser and the analytics that say my site is barely used by IE users, I'm making the decision to deprecate support for IE on my Wordpress ...
Hashim Aziz's user avatar
  • 6,576
1 vote
1 answer
486 views

I want current platform information about the browser from a background script. Firefox has a runtime.getBrowserInfo function that specifies a key version. Short of having to import a package or to ...
ParthianShotgun's user avatar
1 vote
2 answers
170 views

Does a reliable method for detecting IE browser version exist? So far I have tried. IE Conditional comments, not reliable User Agent HTTP request header, not always set My next option was to try out ...
PDStat's user avatar
  • 5,905
2 votes
1 answer
662 views

I have made a website in AMP (Accelerated Mobile Pages). I want to show some content in android but not in iOS. Is there any way to detect android and iOS using AMP?
Ganesh Yadav's user avatar
  • 2,685
4 votes
3 answers
135 views

Recently Edge browser had a bug with <option> elements with the value attribute omitted. <select name="qty"> <option>1</option> <option>2</option> </...
mjac's user avatar
  • 274
3 votes
0 answers
1k views

Surprised this isn't covered yet on SO. Looked here: CSS -moz-available on select not working and CSS -moz-available equivalent in Webkit? ... to no avail :( Anyway. In Chrome the background is ...
imnickvaughn's user avatar
  • 3,034
2 votes
1 answer
730 views

it shouldn't depend on an easily spoofable method (e.g. user agent) it shouldn't be picked up by earlier versions of Windows AFAIK the only difference between IE11 on Windows 8.1 and Windows 10 is the ...
Knu's user avatar
  • 15.2k
7 votes
3 answers
17k views

I have a chat bot in my website it need latest version of browsers to work perfectly so I need to show a message to user saying "Please update your browser to latest version". I don't want to use ...
Dhanil's user avatar
  • 542
0 votes
1 answer
2k views

I want to add a message that tells users to open the page in chrome if they're not in that browser. How can the below be adjusted to use document.write() instead of alert(), and also exclude writing ...
Rachel Jarz's user avatar
2 votes
3 answers
3k views

I have a website with ability to choose language. And I wanted to make that when user enters first time to the website, php gets his system language and writes to cookie (So user by default every time ...
Jengas's user avatar
  • 204
71 votes
11 answers
153k views

I need to detect if browser is IE or Edge with Angular (TypeScript). Is it possible? If so, how?
Liutas's user avatar
  • 5,791

1
2 3 4 5
11