• Page 1 of 1
  • 1
Preventing a Browser
don_slasher
Posts: 16
Reputation: 1

Message # 1 | 10:46 AM
I want to ask questions about preventing an unwanted browser for my website like Internet Explorer... For example I want to prohibit using Internet Explorer for my website, when a user opens it on Internet Explorer there will be a warning tells them to use Firefox, Google Chrome or Opera, how to do that?!
Sanjay_149
Posts: 212
Reputation: 5

Message # 2 | 4:07 AM
Search at Google.. you will find your answer..
Unlike computers, no human brain has ever said:" Hard drive full."
Sunny
Posts: 9296
Reputation: 456

Message # 3 | 9:33 AM
don_slasher, you can use conditional operators: http://forum.ucoz.com/forum/37-471-1
I'm not active on the forum anymore. Please contact other forum staff.
NAIRDA
Posts: 112
Reputation: 10

Message # 4 | 6:53 PM
Quote (Sunny)
don_slasher, you can use conditional operators: http://forum.ucoz.com/forum/37-471-1

Ok, and which would be the $CODE$ from <?if($CODE$)?> ?

If this post helped you, give me +1 rep please. :)
abasovMike
Posts: 31
Reputation: 3

Message # 5 | 0:01 AM
NAIRDA, $USER_AGENT$ - browser type (firefox, opera, safari, ie)

<?if($USER_AGENT$="ie")?>No access for IE users.<?else?> *your code here* <?endif?>


Post edited by abasovMike - Wednesday, 2010-08-04, 9:40 AM
  • Page 1 of 1
  • 1
Search: