Toi aussi, tout comme andrew, qui en plus d'écrire des billets intéressants sur le ouèbe (genre celui-ci), propage la haine, éduque ses visiteurs, et fait du web2.0 un monde meilleur.
<!--[if lt IE 8]>
<div id="ie-sucks">
<h1><span>Hold On, Muchacho…</span></h1>
<p>
Look. There's a problem and it's on your end, not mine. The
thing is, your browser is <em>awful</em>. It's old, out of date, and
can't handle modern code like mine. We're talking things like HTML 5 and
CSS3. You're missing out on those things. Quite frankly, I'm a little bit
embarrassed for you.
</p>
<p>
Lucky for you, there are a couple of options:
</p>
<ol>
<li>
Keep your current browser and view this site with some truly awful
styling (since you're a fan of outdated technology, maybe you'll like
this outdated design).
</li>
<li>
<a href="http://www.apple.com/safari/">Get a new browser</a> and view
this site (and lots of other sites) the way it's meant to
look.</a>
</li>
</ol>
<p>
Why don't you do us both a favor and use
<a href="http://www.apple.com/safari/">a good browser</a>? When you've
installed it, come on back.
</p>
</div>
<![endif]-->
Pour les nouveaux
Cherches pas le bouton « I like » y'en a pas.
Pour les usés
BONUS: Remplaces les hyperlink du browser terreux vers un truc moins sale.
Pour les vrais
Le bonus en awk(1) ou sed(1).
Avec l'id ie-sucks, je m'étais dit que ça commençait bien mais... quand j'ai vu qu'il recommandait Safari... :s L'est payé par Apple?
Non c'est juste un Apple fanboy, comme la majorité des designers. Sinon webkit c'est un excellent moteur de rendu, et Safari un bon logiciel bien qu'Apple force un peu son installation via les updates iTunes :)
un gros sed en travers et basta. mais je sens que je vais mettre un truc de ce genre sur le site d'un client.... peut-être avec un message moins méchant :D
I like this script! It helped me a lot indeed! Thanks for it