David (dblume) wrote,

Microsoft Hacks: I love them and hate them

favicon.ico and XMLHttpRequest both rock.  They're these private little ditties that somebody made at Microsoft because it made their app more usable.

But they help everybody else, too (to put it mildly).  So we all adapted their use.

I changed the design of my private blog a few days ago, so today I changed my favicon.ico accordingly.  After changing the icon to a .gif file (with the supporting link tag), then reverting it to .ico (256 color), then to a smaller .ico (16 color) I still could never get IE to display the new favicon.  Oh, and here's today's changes in header.php (the same line, slightly tweaked, over and over and over):

+    <link rel="icon" type="image/gif" href="favicon.gif">

-    <link rel="icon" type="image/gif" href="favicon.gif">
+    <link rel="icon" type="image/ico" href="favicon.ico">

-    <link rel="icon" type="image/ico" href="favicon.ico">
+    <link rel="shortcut icon" href="<?php bloginfo('url'); ?>/favicon.ico" type="image/x-icon" />

With every change I made, FireFox did exactly what I expected.  IE never did.  Still hasn't.  I give up.  Oh, my fingers hurt from Ctrl+F5.
Tags: programming, web

  • My feed URL has changed

    If anyone here follows my personal blog with a feed reader, you'll have to change the feed URL manually. The old URL can't redirect to the new one.…

  • Progress on my Google+ and LJ backups

    Since Google is going to shut down Google+, I decided it was time to really make a home for my LiveJournal backup and my Google+ backup. Working…

  • In Case of Link-Rot

    If anything should happen to this journal, a backup of it should eventually appear at this location. I don't expect or plan for anything to happen…

  • Post a new comment


    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded