browser-feature-detection Questions

2

Solved

In Javascript you can delete an object property: var o = { x: 1, y: 2 }; var wasDeleted = delete o.x; Now o.x should be undefined and wasDeleted is true. However you can only delete native obj...

3

Solved

Is it possible to detect to see if a browser has support for hardware accelerated page rendering and is it also possible to see if it has been enabled? I am aware that Firefox 4, IE9 and Chrome sup...

23

Solved

I'm wondering if it's possible to detect whether a browser is running on iOS, similar to how you can feature detect with Modernizr (although this is obviously device detection rather than feature d...
Dittography asked 27/1, 2012 at 19:2

3

Is there any way to use JavaScript to detect whether a given browser renders a focused <select multiple> element as a popup or solely as an inline box? On some platforms, such as the Android...

1

I'm using ffmpeg.wasm in my site but it only works if the browser supports SharedArrayBuffer. Is there a simple way to test using javascript (browser js or nodejs) if the browser has support to it?...
Geneva asked 10/10, 2021 at 12:53

4

Solved

What's concept of detecting support of any css pseudo-class in browser through JavaScript? Exactly, I want to check if user's browser supports :checked pseudo-class or not, because I've made some C...

3

Solved

In some browsers, including Chrome stable, you can do this: h3 { -webkit-filter: grayscale(1); filter: grayscale(1); } And wouldn’t you know it, the h1 will be rendered completely in grayscale. ...
Troy asked 15/6, 2012 at 8:34

6

I would like to check whether a browser is going to show a special "native" style dropdown (such as the iPhone and iPod) without checking specifically by browser name. Is it possible to check for t...
Allhallowtide asked 11/12, 2012 at 8:7

9

Solved

Is it possible to check for the iPad version (1 or 2) in a web application? As the user agent looks identical (see http://www.webtrends.com/Support/KnowledgeBase/SolutionDetail.aspx?Id=50140000000a...
Gland asked 13/9, 2011 at 10:38

4

Solved

The latest version of Firefox has support for CSS Variables, but Chrome, IE and loads of other browsers do not. It should be possible to access a DOM Node or write a little method which returns whe...
Squamous asked 29/10, 2014 at 14:40

4

Solved

Is it possible in JavaScript to know if a CSS property is supported by the client browser? I'm talking about the rotation properties of CSS3. I want to execute some functions only if the browser su...
Shanta asked 27/8, 2009 at 18:35

2

Solved

I was wondering if it's possible to detect if an iOS user is using the webapp, or just visiting the normal way with safari browser. The reason I want to achieve is that on a iOS webapp when a use...
Presignify asked 1/8, 2013 at 9:11

3

Is it possible to detect support for the DOMContentLoaded event? Method's like Kangax's solution here won't work because DOMContentLoaded is not exposed as a property of any element: Detecting eve...

3

Solved

Thanks to Perfection kills, we can use the following JavaScript to detect event support: function hasEvent(ev) { var elem = document.createElement('a'), type = 'on' + ev, supported = elem[type] ...
Inkhorn asked 7/9, 2011 at 16:56

2

How can I detect browser support for HTML Media Capture* ? The traditional way of testing if an attribute is supported doesn't seem to work on some devices (tested on iPad and Google Nexus): v...

2

Using responsive Layout and a lot of CSS to create a Webpage, I am having a problem with scrollbars being hidden or shown and changing the layout by 17px. The main problem is that on OSX the scrol...
Shredding asked 6/5, 2014 at 12:16

2

Internet Explorer does not support the data uri scheme for iframe urls (see http://msdn.microsoft.com/en-us/library/cc848897%28v=vs.85%29.aspx). Other browsers do. As browser detection is loaded wi...

1

Solved

While searching for a way to check CSS support in browsers I came across two different approaches: CSS and JavaScript. I have used JS before for checking feature support in browsers, but not for CS...
Downgrade asked 8/5, 2015 at 11:58

3

Some mobile browsers and IE8 javascript is not just a little bit slower, it's many times 10x slower! There are lots of things that pass feature detection tests (js css manipulations, etc) but are s...

3

Solved

Somebody has already asked my question about detecting SVG support in browsers but there are three leading solutions and not a lot of discussion about the merits of each. So: which, if any, ...
Lundt asked 13/3, 2012 at 17:49

2

Solved

Have anybody out there found a simple way of detecting whether the browser supports the transitionend event or not in vanillaJs, especially in a way that actually works in all major browsers? :( I...
Brunell asked 28/10, 2013 at 13:23

4

Solved

I'm looking for a cleaner way to feature detect the actual name of the transitionend. I've seen a lot of examples just brute force adding handlers to all the variations. Also, I don't want to have ...

2

Solved

I'm really enjoying ES6 generators. Is there a way I can detect generator support in browsers? I know generators might not be in a lot of browsers (or possible no browsers at all) at the moment, bu...

1

Solved

I found a most peculiar browser feature in the latest Chrome (35; Win/Android/iOS) and Safari (7; iOS) versions. If you have a math form with input type="number" and enter a number with a decimal c...
Reggi asked 25/6, 2014 at 11:12

3

Solved

While waiting for responsive design to find the way into a legacy web site, I would like to redirect a browser to a mobile version if the screen is smaller than 480px Hunting around I came up with...
Wedged asked 17/4, 2014 at 13:40

© 2022 - 2024 — McMap. All rights reserved.