 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
xdefconx
Joined: 22 Mar 2006 Posts: 38
|
Posted: Mon May 26, 2008 8:22 pm How do i can block/denied Firefox browser user to visit my w |
|
|
|
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
|
Posted: Tue May 27, 2008 12:36 am |
|
|
|
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
|
Posted: Tue May 27, 2008 12:45 am |
|
|
|
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 |
|
|
|
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
|
|
|
|
|
 |
|
|
|
|
|
|
|