Browser Detection Plugin?

I have a website that I created, and I plan to redo it. The current version of the site used the jquery callout plugin, which did not fully work in IE6. It made me think about finding a browser.

At first, I was just going to place supported browsers on the home page, but today on Digg I saw a message about some jQuery and wordpress plugins, and the plugin for detecting IE appeared in the article.

So, I began to inspect some browser detection plugins. I found several of them, but they are where on top, like this one

sevenup

Its nice, but it creates a huge pop-up window and reports that it is being updated. This is better than the other that I found where they basically forced the user to update, or they could not continue to work on the site.

So I found this

jquery plugin

This is pretty nice, as he looks at the main browsers and discovers that they also expect chrome, which I noticed triggers and an outdated browser with this plugin.

So, I started looking at the jquery documentation to find out if they had browser detection for chrome when I saw that they were “out of date” and now recommend “Support”.

So now I'm just confused how “Support” seems to be good, and I read a lot of posts on this site, saying that you should use them.

But then it does not support such things as .png detection, which could be useful for me from that plugin (however, I probably will not use the plugin anymore, since I think that the author simply abandoned it).

Plus, I don’t know if this is what I am looking for at this time. As I assume, with the help of "Support" you use it to detect something that is not supported, and then do something alternative for this browser?

For me, I am looking more for something to say to the user: "Hey look, I tested this browser in these versions of Firefox (3.5+), IE (8+), Opera (9.5 +), Chrome (something) Safari (something). If you don’t use these versions, you may not see the site how it was intended. "

Of course, I will try to make something shorter than this post, but this is gyst. I also assume that the site will work in future versions of these browsers.

I still check if my site is working (usually it does) and is half decent in IE 6, but I will not spend hours fixing materials that might be disabled in older browsers like IE 6.

I will not test my site in the old version of other browsers, such as firefox, since I think that the user should make sense to update, so there is no need to test the point firefox 2.0 or something else.

So, is there a plugin that fits this description? Or maybe "support" to do what I want?

thanks

+4
source share
7 answers
+5
source

For ie6 you can just do this:

if(typeof document.body.style.maxHeight === "undefined") { // do stupid ie6 stuff } 

In my experience, most other things can simply be fixed by changing CSS and so on. I'm not too excited about the whole move towards using "support" in jquery. You might also want to explore .

+1
source

If you're interested in just filtering IE versions of everything else, IE conditional comments will allow you to clean the contents of a single page - this is the easiest way to submit, for example. CSS workarounds to older versions of IE.

For a simple scenario, a support-based mechanism "does the browser have the function that I want, regardless of what it calls?" does what you really ask.

Of course, there is no substitute for testing in a number of browsers to find out what to do in detail, what you want.

+1
source

Well, I publish a plugin based on BrowserDetect quirksmode.org, you can find it at http://www.stoimen.com/blog/2009/07/16/jquery-browser-and-os-detection-plugin/

+1
source

Take a look at my new version: badBrowser Script 1.4 http://blog.team-noir.net/2010/05/jquery-badbrowser-update-version-1-4/

0
source

I really decided to go with JReject. It pretty much has that beautiful appearance, like seven, but doesn't take many hours to figure out how to use.

http://jreject.turnwheel.com/

The only thing that’s wrong with this is still a beta, and I don’t know how stable it is, but from what I have seen so far, it’s pretty good.

0
source

This one seems to work well and includes support for modern browsers such as IE11 JQuery browser plugin

0
source

All Articles