HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
How do i can block/denied Firefox browser user to visit my w
Post new topic   Reply to topic    HTML Help Forum Index -> Others
View previous topic :: View next topic  
Author Message
xdefconx



Joined: 22 Mar 2006
Posts: 38

PostPosted: Mon May 26, 2008 8:22 pm     How do i can block/denied Firefox browser user to visit my w Reply with quote

Hye all,

How do i can block/denied Firefox browser/etc browser user to visit my website? I only want fully 100% Microsoft Internet Explorer (IE) web browser only can visit my web site. This is because my web site is design just for IE. Can someone give me any referrer URL/website for this issue? It will be nice if someone can including with a coding/programming to do this.

Thanxs
Straystudio



Joined: 14 Apr 2008
Posts: 255
Location: Nord Italy

PostPosted: Tue May 27, 2008 12:36 am     Reply with quote

It is possible to do by combinig a redirect script with a Browser detecting script.
The below SCRIPT detects IF user is running Netscape; and if so, it redirects to an other page (I placed google URl, for instance).
There You can place a page warning Visitor:
"Please, run Internet Explorer browser to enter my site."
Later, there You can even place a Netscape-compatible version of Your site.

Code:

<script type="text/JavaScript">
<!--
if (navigator.appName == "Netscape") {
 document.location.href="http://www.google.com";
 }
//-->
</script>


Yet, if Visitors disable JavaScript on their Netscape browser, they still can run Your site.
It is more friendly opening an IE, though.
xdefconx



Joined: 22 Mar 2006
Posts: 38

PostPosted: Tue May 27, 2008 12:45 am     Reply with quote

Hye Straystudio, Thanxs for reply. Let say my web script using ASPX and my web server is ISS it is possible to do so? I also thinking if someone disable that Javascript they still can visit it.

Thanxs
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> Others All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial