3
I am making a website and would like to put a browser check that the user is using.
I don’t want the site to be used in IE 6, 7 and 8. In addition to some versions of old Firefox that you have in those Linux environments.
If the user’s browser are some of these old ones I want to redirect the user to a page where he can download a newer browser.
But I’m wondering if these old browsers understand jQuery, why were you thinking of doing a routine through this library.
Or is there some other way to do it ? I don’t know.
You can use both
JavaScript
, how muchCSS
to verify the user’s browser, you can also use a language that is running onback-end
, like thePHP
for example.... in your case I advise usingJavaScript
, for this it will also be necessary to have a certain knowledge inRegEx
– MarceloBoni