Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 5 12345 LastLast
Results 1 to 10 of 48
  1. #1
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default My favourite programming function in the entire world

    Code:
    function antiIE() {
    	echo '<script>
    var browserName=navigator.appName; 
    if (browserName=="Microsoft Internet Explorer")
     {
     alert("Microsoft imposes restrictions on Internet Explore which make it impossible to render this page. Please download a better browser.");
      window.location = "http://www.google.com/chrome";
     }
    </script>';
    }

    Why don't websites seriously implement this?
    I'm not crazy, ask my toaster.

  2. #2
    Join Date
    Jul 2006
    Location
    UK
    Posts
    11,985
    Tokens
    624

    Latest Awards:

    Default

    what does it do

  3. #3
    Join Date
    Sep 2005
    Posts
    888
    Tokens
    177

    Latest Awards:

    Default

    pretty much gets the name of the internet browser and says some ******** which is spelt wrong (way to go, genius!) and then redirects you to google ;\

  4. #4
    Join Date
    Jul 2006
    Location
    UK
    Posts
    11,985
    Tokens
    624

    Latest Awards:

    Default

    Wow Dats Mazin

  5. #5
    Join Date
    Sep 2005
    Posts
    888
    Tokens
    177

    Latest Awards:

    Default

    Quote Originally Posted by Kyle View Post
    Wow Dats Mazin
    it sure as hell is.. i mean, c'mon! what other function can be THAT awesome?

    its almost as good as the
    Code:
    <script>
    while(1=1){
     alert("lulz");
    }
    </script>

  6. #6
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default

    I didn't write it, I found it. However I'm going to use it because I even get jquery errors with Internet explorer. Internet explorer even changes the quotes and capitalization of webpage's source.
    I'm not crazy, ask my toaster.

  7. #7
    Join Date
    Sep 2005
    Posts
    888
    Tokens
    177

    Latest Awards:

    Default

    Quote Originally Posted by HotelUser View Post
    I didn't write it, I found it. However I'm going to use it because I even get jquery errors with Internet explorer. Internet explorer even changes the quotes and capitalization of webpage's source.
    if i ever got a message like that on a site i WANTED to visit, i'd sure as **** never go back.

  8. #8
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default

    Quote Originally Posted by Blinger View Post
    if i ever got a message like that on a site i WANTED to visit, i'd sure as **** never go back.
    You'd have to be quite computer illiterate to be using Internet Explorer in the first place.
    I'm not crazy, ask my toaster.

  9. #9
    Join Date
    Sep 2005
    Posts
    888
    Tokens
    177

    Latest Awards:

    Default

    Quote Originally Posted by HotelUser View Post
    You'd have to be quite computer illiterate to be using Internet Explorer in the first place.
    why? its newer browsers are good.

  10. #10
    Join Date
    Jul 2004
    Location
    California
    Posts
    8,725
    Tokens
    3,789
    Habbo
    HotelUser

    Latest Awards:

    Default

    Quote Originally Posted by Blinger View Post
    why? its newer browsers are good.
    No they're not. IE completely fails with the simplest of tasks, such as aligning margins with CSS, or setting up borders. When you try to use jquery let alone javascript by itself everything just sucks, and it renders pagest stupidly slow.

    I've fixed your previous source example for you:
    Code:
    while(1==1)
    alert('lulz');
    I'm not crazy, ask my toaster.

Page 1 of 5 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •