Chad wrote:

>Here is some code that might help you on your way:
>
>I replaced all the < characters with the [ character so the email would not
>be in HTML, just in case.
>
>I tested it with I.E. 5.5 (I'm a little warm from time spent in hell) and it
>works.  I.E. does pop up a windows saying something like "the page you are
>viewing wants to close the browser.  allow this?  yes  no"
>
>Good luck.
>
>
>[html>
>[head>
>[title>This page shuts the M$ IE down[/title>
>[/head>
>[script language=" JavaScript">
>[!--
>function ismicrosoft()
>{var BrowserTyp;
>var Text = "Hello!\n\nYou are using the Microsuck InterNet Explorer as
>browser. \n"+"Due to this fact you are NOT welcome on this page. Go and
>download some other"+"navigator.\n Have a nice day";           BrowserTyp =
>navigator.appName;
>BrowserTyp.toLowerCase();
>if (BrowserTyp == "Microsoft Internet Explorer")
>{alert(Text);
>parent.close()
>};
>};
>//-->
>[/script>
>[body  onload="ismicrosoft();return true">
>[h1>You're lucky. You don't use a Micro$oft IE Browser. May the force be
>with you !!! :))))[/h1>
>[h2>[a HREF="shut_ie_down.html">BACK[/a>[/h2>
>[/body>
>[/html>
>
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Warren Post
>Sent: Thursday, September 19, 2002 11:26 PM
>To: Newbie list
>Subject: Re: [newbie] OT help writing my deny IE page
>
>
>Looks great, Todd. Cracks me up, in fact. A few nitpicking comments:
>
>1. Microsoft never says "Internet Explorer." They always say "Microsoft
>Internet Explorer." Consider doing the same. It will help the public
>remember not only that MSIE sucks but also what company is responsible
>for this sucky product.
>
>2. "Luckily"? Perhaps "thankfully" or "happily" is the word you want. A
>good browser isn't made with luck.
>
>3. Ditto "assholes." The webmasters that I know who make MSIE only sites
>aren't assholes, they're incompetent.
>
>4. Make sure your code can distinguish between MSIE and a browser
>falsely identifying itself as MSIE.
>
Very important point.  IIRC, Opera masquerades as IE by default.

>
>Great job. Let us know the URL once it's up.
>
>Warren
>
I'm not sure about some of this.  While IE pisses me off, and I even 
tried out a script like this once just for fun, I still think it's a 
principle of web design that anyone should be able to view the site (and 
feel welcome!) no matter what browser they're using.  By all means have 
an unintrusive message advising IE users of the alternatives, just as, 
for example, I have some small print on one of my sites explaining how 
the CSS may not come out right in some non-standards-compliant browsers, 
but "you are NOT welcome" is a bit strong.  

Sir Robin

-- 
"There are only 10 types of people in the world. Those
 who understand binary and those who don't" - thinkgeek.com

Robin Turner
IDMYO
Bilkent �niversitesi
Ankara 06533

http://www.bilkent.edu.tr/~robin




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to