Top "Browser-detection" questions

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

How to detect IE11?

When I want to detect IE I use this code: function getInternetExplorerVersion() { var rv = -1; if (navigator.appName == 'Microsoft Internet …

internet-explorer debugging internet-explorer-11 browser-detection forward-compatibility
Detect Safari browser

How to detect Safari browser using JavaScript? I have tried code below and it detects not only Safari but also …

javascript browser-detection
Detect Safari using jQuery

Though both are Webkit based browsers, Safari urlencodes quotation marks in the URL while Chrome does not. Therefore I need …

javascript jquery browser-detection
Detect iPad users using jQuery?

Is there a way to detect if the current user is using an iPad using jQuery/JavaScript?

javascript jquery ipad browser-detection
How to write specific CSS for mozilla, chrome and IE

What would be the CSS conditional statement you can use to include specific CSS for IE, Mozilla, Chrome. If IE #…

php html css browser-detection
Browser detection

I need to separate IE and FF browsers from others it's a pseudo-code : If (CurrentBrowser == IE(6+) or FF(2+) ) { ... } else { ... } in …

c# asp.net browser-detection
Best way to check for IE less than 9 in JavaScript without library

What would be your fastest, shortest (best) way to detect browser which is IE and version less than 9 in JavaScript, …

javascript internet-explorer browser browser-detection
If Browser is Internet Explorer: run an alternative script instead

I'm using an image carousel script that is quite heavy on the browser. It works great in Opera and Chrome, …

javascript browser-detection
How to detect browser with Angular?

I need to detect if browser is IE or Edge with Angular (TypeScript). Is it possible? If so, how?

angular typescript browser-detection
How to target Edge browser with javascript

I know you should do feature detection where possible, but can you detect in Javascript if the browser is the …

javascript browser-detection microsoft-edge