Jump to content

Recommended Posts

You can't force the browser to switch, but you can refuse to load your page for certain browsers.  I can imagine maybe the OP wants to block IE6 or something.

 

You'll have to get the user agent of the browser and then check that against a list and then you can do something, like show a page telling the user to use a different browser.

 

The user agent can be changed by the user in some cases though, so it's not a fool-proof way to prevent someone from viewing your page. :)

You cannot force the user to do anything.

 

My P90 Gun Disagrees  with that statement :P

 

In any case, you can detect what the browser says its name is, but that's not 100% proof, but would be okay for a basic validation.

 

What are you trying to achieve ?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.