4 ms·
thoughts on "no more browser sniffing"? http://docs.jquery.com/Utilities/jQuery.support http://docs.jquery.com/Utilities/jQuery.support is this helpful? i sti
by diN0bot 18y ago
thoughts on "no more browser sniffing"?
http://docs.jquery.com/Utilities/jQuery.support http://docs.jquery.com/Utilities/jQuery.support
is this helpful? i still get bit by js failures in ie, but i'm not sure what the impact of this change is. is the advantage more that no sniffing means less chance to get that wrong or be fooled?
- jeresig 18y agoIt's primarily helpful to jQuery itself. The problem is that most libraries have blindly assumed that specific browser bugs (such as an Internet Explorer bug) will exist forever in all versions of the browser. When the time comes for IE to fix the bug (and it will come) the library will break due to the blind assumption. Using feature detection, like we have, is a sure-fire way to make sure that this doesn't happen. jQuery.support, itself, will likely only be marginally useful to those outside of jQuery core (since we're checking for some very specific bugs or features). That being said we have documented it since it could still be useful.
- diN0bot 18y agoword. it's great that you're active on this discussion thread. is it challenging finding all the places that discuss jQuery? is it interesting engaging with different communities or are they all pretty much the same?
- bradgessler 18y agoDoes anybody know of a good jQuery plug-in that detects and lists the plugins installed in one's web browser?