"Get a real browser: IE"



  • <html>
    <head>
    <!-- snip meta tags and stuff -->
    <script language="javascript">
    function checkForRealBrowser(){
    var browser=navigator.userAgent;

    if (browser.indexOf("Firefox")!=-1){

    //alert("This page was designed to be viewed in Microsoft Internet Explorer.  The firefox javascript engine is not robust enough to render this page.  Use a real browser: IE.");
    }
    

    }

    </script>
    < !-- snip the rest of the head -->
    </head>
    <body onLoad="checkForRealBrowser();">
    < !-- snip the body-->
    </body>
    </html>



  • Do'h! Forgot the br tags... Let's try again:
    @Fred Foobar said:

    <html>

    <head>

    <!-- snip meta tags and stuff -->

    <script language="javascript">

    function checkForRealBrowser(){

    var browser=navigator.userAgent;

    if (browser.indexOf("Firefox")!=-1){

    //alert("This page was designed to be viewed in Microsoft Internet Explorer. The firefox javascript engine is not robust enough to render this page. Use a real browser: IE.");

    }

    }

    </script>

    < !-- snip the rest of the head -->

    </head>

    <body onLoad="checkForRealBrowser();">

    < !-- snip the body-->



  • Heh. Where did you find that?



  • and more importantly, what happened when you changed your User Agent?



  • @Iago said:

    Heh. Where did you find that?

    Found this while browsing around the Interwebs. It was part of a JS menu.
    @Narcissus said:
    and more importantly, what happened when you changed your User Agent?

    Absolutely nothing... note the // in front of the call to alert(). The function checkForRealBrowser() still gets called, but it does nothing except provide a laugh for anyone looking at the source to the page.



  • Also note that even if the alert wasn't commented out, it wouldn't do anything to stop you using the site once you clicked ok on it.

    I wonder what the story behind it is :)



  • @Fred Foobar said:


    Found this while browsing around the Interwebs. It was part of a JS menu.


    Well that narrows it down quite a bit. Cheers!

    sincerely,
    Richard Nixon



  • Must've confused "robust" with "doesn't support my M$-only things".



  • @dhromed said:

    Must've confused "robust" with "doesn't support my M$-only things".

    Loathe as I am to enter this debate, I feel compelled to point out that Firefox really does do some weird things in Javascript, and still doesn't render many websites correctlym JS notwithstanding.  Ever try it on space.com?  Good luck.  It's better now at msnbc.com (no conspiracy theories, please), but it still isn't perfect.

    Most of the people I see touting Firefox are only doing it because it's possible to add plug-ins.  Whee.  Like I really, really need to know where Abe Vigoda is. 



  • @mrprogguy said:

    @dhromed said:

    Must've confused "robust" with "doesn't support my M$-only things".

    Loathe as I am to enter this debate, I feel compelled to point out that Firefox really does do some weird things in Javascript, and still doesn't render many websites correctlym JS notwithstanding.  Ever try it on space.com?  Good luck.  It's better now at msnbc.com (no conspiracy theories, please), but it still isn't perfect.

    Most of the people I see touting Firefox are only doing it because it's possible to add plug-ins.  Whee.  Like I really, really need to know where Abe Vigoda is. 



    What do you mean, 'good luck'. Space.com works perfectly, as far as I can glance. No errors.

    Do you have specific examples of Gecko's JS weirdness?


  • I use Firefox 99% of the time (now). However, I still use IE for one very important function - reading and posting to The Daily WTF.

    For one thing, the forum just works better with IE. It allows me to drag pictures (from a web page) right into the editing window. The last time I used Firefox here, it did not do that, although it may now.

    Another thing is that I am permanently "logged in" with IE, and I can't remember my password. (Quit laughing.) The password reset/retrieval for this forum seems pretty hit-or-miss, and I can never seem to get it straightened out.



  • @R.Flowers said:

    I use Firefox 99% of the time (now). However, I still use IE for one very important function - reading and posting to The Daily WTF.

    Yeah, the forum software suckz. Don't blame Firefox.

    @R.Flowers said:


    For one thing, the forum just works better with IE. It allows me to drag pictures (from a web page) right into the editing window. The last time I used Firefox here, it did not do that, although it may now.



    Nah, it doesn't. It could, though, but it would require the forum software's developer to actually *gasp* get it to work!

    @R.Flowers said:

    Another thing is that I am permanently "logged in" with IE, and I can't remember my password. (Quit laughing.) The password reset/retrieval for this forum seems pretty hit-or-miss, and I can never seem to get it straightened out.



    Well, if you trust IE more than your own brain, I say good luck to thee! :-P


  • @R.Flowers said:

    I use Firefox 99% of the time (now). However, I still use IE for one very important function - reading and posting to The Daily WTF.

    For one thing, the forum just works better with IE. It allows me to drag pictures (from a web page) right into the editing window. The last time I used Firefox here, it did not do that, although it may now.

    Another thing is that I am permanently "logged in" with IE, and I can't remember my password. (Quit laughing.) The password reset/retrieval for this forum seems pretty hit-or-miss, and I can never seem to get it straightened out.




    Actually, I use Firefox on this site all the time and it has kept me logged in for as long as I can remember.
    I think I may have a problem using emoticons though. I drag the emoticon in the window but all that comes up is ":)"
    Not sure if I am doing something wrong and this would work in IE


  • mrprogguy probably didn't use the build of Firefox released 5 minutes ago.



  • @Oscar L said:

    mrprogguy probably didn't use the build of Firefox released 5 minutes ago.

    Okay, someone just troll this and put me out of my misery.



  • Just to clarify: I do not trust IE more than my brain! Particularly in light of things like this.

    I do not blame Firefox for the shortcomings of this forum software.

    I am sure that Firefox will retain this site's cookie as well as IE; however, the cookie happens to be set in IE on my computer, but not in Firefox. Using Firefox, I can ask the site to reset and email me my password. The site tells me that my password has been changed, and the new password is on the way to my inbox. The problem is that it never arrives. (I really don't have any spam filters, so it's not that.)

    If I can log in w/ Firefox, this is a non-issue for me. I will not create another account; I've already done that once.

     



  • @R.Flowers said:

    I use Firefox 99% of the time (now). However, I still use IE for one very important function - reading and posting to The Daily WTF.

    For one thing, the forum just works better with IE. It allows me to drag pictures (from a web page) right into the editing window. The last time I used Firefox here, it did not do that, although it may now.

    I've noticed that if you use the HTML mode, instead of design mode, things work much better



  • @dhromed said:

    @mrprogguy said:

    @dhromed said:

    Must've confused "robust" with "doesn't support my M$-only things".

    Loathe as I am to enter this debate, I feel compelled to point out that Firefox really does do some weird things in Javascript, and still doesn't render many websites correctlym JS notwithstanding.  Ever try it on space.com?  Good luck.  It's better now at msnbc.com (no conspiracy theories, please), but it still isn't perfect.

    Most of the people I see touting Firefox are only doing it because it's possible to add plug-ins.  Whee.  Like I really, really need to know where Abe Vigoda is. 


    I see you agree with me about Abe Vigoda.


    What do you mean, 'good luck'. Space.com works perfectly, as far as I can glance. No errors.

    I don't have time to go into the specific semantics of "good luck," I would have thought that was obvious.  In any event, the issue must have been on space.com, because it works for me today.  Yesterday it was a complete cockup.  Or maybe that was Friday.  Wouldn't load at all.


    Do you have specific examples of Gecko's JS weirdness?

    Yes.



  • @mrprogguy said:


    Do you have specific examples of Gecko's JS weirdness?

    Yes.



    how extremely arrogant.


  • @artanis said:

    I give up! why isn't it possible to preview or edit? :'(

    Maybe you're not using a "real" browser?

    [:P] Joke! Joke! [:D]



  • This reminds me of a great rant by jwz.



  • @artanis said:

    I give up! why isn't it possible to preview or edit? :'(

    Because our fearless leader has given us the option to use wtf for free! [Y]



  • @artanis said:

    I give up! why isn't it possible to preview or edit? :'(


    Because you are using Opera and this site is jealous of Opera's pretty looks.



  • Remember me complaining that the site would not send me the temprorary password?

    cough wrong email... :$


Log in to reply