Get the Code

discount cialis no rx generic viagra online cialis online without prescription cialis pharmacy online cheap cialis no rx compare cialis prices purchase viagra no rx cheap generic cialis buy cialis in us order viagra no prescription order cheap cialis viagra without rx order viagra in canada buy viagra buy generic cialis discount viagra order viagra without prescription viagra in australia cheap cialis from usa cialis pill drug cialis online purchase viagra cost order cialis overnight delivery find cialis buy viagra generic cialis overnight viagra price purchase viagra overnight delivery cheap viagra tablets buy cialis online cialis tablets viagra australia cialis india no rx viagra cialis online cheap cialis online review order viagra from canada buy discount cialis online viagra without a prescription viagra pharmacy online cialis in malaysia lowest price for viagra cialis for order cialis overnight shipping cialis side effects viagra tablet order no rx viagra approved cialis pharmacy discount viagra overnight delivery buy generic cialis online viagra overnight delivery cialis free sample buy viagra lowest price order discount cialis online find cheap viagra purchase viagra without prescription order cheap viagra online cheapest cialis cheap cialis no prescription tablet viagra free cialis order cialis in canada low cost viagra drug viagra online purchase viagra rx price of viagra viagra online stores cheap viagra tablet buy cialis internet buy cialis from canada generic cialis online fda approved viagra viagra no online prescription cialis in us cheap cialis online cheapest viagra price cialis from canada cialis order order cheap cialis online buy cheapest cialis online cialis price generic cialis cheap online pharmacy viagra discount cialis online cialis pills cialis discount cialis drug where to buy viagra best price for cialis cialis buy online buy cheap viagra find discount viagra online certified viagra order cialis no rx viagra without prescription buy cialis from india cheapest viagra viagra drug order viagra on internet cheap cialis internet cialis bangkok buy viagra without prescription viagra online pharmacy cialis malaysia where to order viagra cialis without prescription viagra in malaysia buying viagra order cialis without prescription cheap viagra in canada viagra in us buying generic cialis find no rx cialis cialis rx buy cialis online cheap order viagra overnight delivery viagra prescription cheapest viagra prices viagra no rx required buy cialis on line find discount viagra pharmacy viagra cheap cialis in uk discount viagra no rx cialis viagra pills buy cheap cialis viagra buy online purchase viagra online viagra medication find viagra find viagra without prescription buy no rx viagra cheap cialis without prescription best price cialis viagra tablets cheap viagra overnight delivery buy cialis no rx certified cialis cialis us buy cialis overnight delivery cheap price viagra online viagra buy discount viagra buy viagra internet viagra information viagra us cialis overnight delivery cialis sales cialis no rx required viagra from india viagra online review buying generic viagra find no rx viagra find discount cialis online cheap price cialis cialis cheapest price viagra india viagra no rx cialis cialis no prescription cheap cialis tablets buy cialis cheap viagra pharmacy purchase cialis online buy viagra low price viagra online cialis prescription viagra malaysia buy cialis cheap cheap cialis from uk overnight viagra buy viagra us buy generic viagra online viagra discount discount viagra online cheap cialis drug viagra cialis in australia buy viagra online cheap cialis from india lowest price for cialis pharmacy cialis viagra internet cheapest viagra online order cheap viagra find viagra on internet viagra in bangkok viagra sales cheapest generic cialis online cialis approved compare cialis prices online viagra overnight find cheap cialis online cialis buy where to buy cialis cost viagra best price for viagra buy cialis from us discount cialis overnight delivery order cialis on internet cialis cost buying cialis online sale cialis cheap viagra no prescription viagra buy drug no prescription cialis order viagra no prescription required buy viagra in canada cialis without a prescription order cialis cheap online sale viagra buy viagra in us viagra pharmacy cheapest generic viagra online cialis australia cheap viagra from canada viagra free delivery viagra purchase viagra generic buy no rx cialis viagra from canada lowest price cialis generic cialis buy cheapest viagra find cialis online order viagra from us viagra side effects cheap viagra no rx cheap viagra on internet cheap viagra from uk cialis cheap drug buying cialis buying viagra online cialis internet buy viagra on line order cialis from us cialis online pharmacy viagra online cheap viagra uk buy cheapest viagra on line cheap viagra in usa viagra cheapest price viagra vendors cheap cialis overnight delivery cialis no rx buy discount cialis drug cialis cialis without rx order discount viagra viagra sale order viagra cheap online viagra buy order cialis no prescription viagra free sample viagra no rx buy cheap viagra online tablet cialis cialis medication buy cialis low price viagra cheap generic viagra find cialis without prescription viagra order viagra cheap drug viagra overnight shipping viagra prices buy cialis on internet cheap viagra from usa online cialis cheapest generic viagra cialis vendors generic viagra cheap cialis tablet order cialis online cheap viagra in uk cialis cheap price cheap viagra order viagra in us cialis buy drug cheap viagra without prescription cialis sale cheap cialis pill order discount viagra online buy cialis without prescription cheapest cialis online buy discount viagra online buy generic viagra buy viagra no rx viagra pill buy cialis us cialis in uk buy cheap viagra internet purchase cialis without prescription order discount cialis cheap cialis tablet cialis in bangkok cialis for sale order generic cialis viagra no prescription order cialis in us buy viagra online order cialis compare viagra prices overnight cialis buy viagra overnight delivery find viagra no prescription required cialis prices buy cheap cialis online order viagra viagra for sale buy cheapest viagra online cialis pharmacy buy viagra no prescription required buy cialis in canada buy cialis no prescription required find viagra online cheap cialis pharmacy cialis online stores discount cialis fda approved cialis cheap cialis on internet viagra bangkok viagra canada cost cialis approved viagra pharmacy cialis generic buy viagra on internet buy cialis lowest price buy cheapest cialis on line compare viagra prices online free viagra find cheap cialis online pharmacy cialis viagra in uk buy cheapest cialis low cost cialis order no rx cialis order viagra no rx purchase cialis overnight delivery cialis uk cheap cialis in usa order viagra online find discount cialis find cialis on internet cialis canada lowest price viagra purchase cialis cheapest generic cialis buy viagra from canada cheap generic viagra cheapest cialis prices price of cialis discount viagra without prescription cheap viagra online where to order cialis buy viagra from india purchase cialis no rx cheapest cialis price buy viagra from us cialis cheap cheap cialis in canada cialis no online prescription find cheap viagra online order cialis no prescription required viagra online without prescription viagra cheap price cialis free delivery best price viagra order cialis from canada buy viagra cheap find cialis no prescription required cialis purchase purchase viagra discount cialis without prescription cheap viagra pill cheap cialis from canada viagra approved buy cheap cialis internet cost of cialis cost of viagra cheap viagra internet no prescription viagra cialis information cialis online order generic viagra buy cialis generic viagra for order

Do your part to help phase out Internet Explorer 6 forever by adding the warning in the image below to your site. It tells visitors using Internet Explorer 6 or an older browser that they need to upgrade to the current version right now.
The warning

All you have to do is add the Stop Living in the Past WordPress plugin to your WordPress powered blog or site or add the code below anywhere on your site. It is completely self-contained, CSS driven and will only show up if the visitor uses IE6. The code uses CSS to identify the browser and has no JavaScript or other elements that could interfere with your web site.

The WordPress Plugin

Download the Stop Living in the Past WordPress plugin right now!Using the Stop Living in the Past WordPress plugin is as easy as it gets:

  1. Download the WordPress plugin
  2. Unzip the archive to your computer
  3. Upload the StopLivingInThePast folder to your /wp-content/plugins directory
  4. Activate the Stop Living in the Past plugin from your WordPress admin panel.

That’s really all there is to it!

The code

If you don’t have a WordPress based blog or site or if you want to have more control over exactly where the warning will appear you can add it manually by copying the code in the box below. To add the warning to the top of your site paste the code below into your HTML code directly under the <body> tag. You can also add it as a sidebar element in WordPress by creating a new Text widget and pasting the code in manually.

<!-- BEGIN STOP LIVING IN THE PAST SCRIPT -->
 
<!--[if lte IE 6]>
 
<style type="text/css"> 
 
    #slitp {
		padding: 10px;
		border: 3px solid #000099;
		margin: 8px 0;
		background: #DFEFFF;
		color: #000;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		line-height: 15px;
	}
 
	#slitp h1 {
		padding: 0px 0px 5px 0px;
		text-transform: uppercase;
		text-align: center;
		border-bottom-style: solid;
		border-bottom-width: 1px;
		border-bottom-color: #000099;
		font-size: 16px;
		color: #000099;
	}
 
	#slitp p {
		margin: 10px 0px 0px 0px;
		text-align: justify;
	}
 
	#slitp p a {
		font-weight: bold;
		color: #000099;
	}
 </style> 
 
<div id="slitp">
    <h1>Your browser is outdated. Stop living in the past and upgrade!</h1>
		You are using the long outdated Internet Explorer 6 browser. This site 
		may not display or work correctly and you are putting your data and 
		privacy at risk. To get the most out of the web, upgrade to the
		<a href="http://www.microsoft.com/windows/products/winfamily/ie/default.mspx" title="Download the latest version of Internet Explorer for free directly from Microsoft" alt="Download the latest version of Internet Explorer for free directly from Microsoft" "target="_blank">
		new version of Internet Explorer</a> right now. If you are at work and you see this message, 
		talk to your IT department and ask them to upgrade the browser to secure 
		your company data.
 
        <p><a title="Stop Living In the Past" href="http://www.stoplivinginthepast.com" target="_blank">Click here to learn more about why you should upgrade your browser.</a></p>
</div>
 
<![endif]-->
 
<!-- END STOP LIVING IN THE PAST SCRIPT -->

Tutorials and a WordPress plugin are in the works

I am working on a series of tutorials detailing how to place the code in your site so stay tuned.

32 Comments

  • Have to repost, because obviously this comment form does no escaping whatsoever. Sorry.

    Instead of

    <!--[if IE 6]>

    you should definitely use

    <!--[if lte IE 6]>

    , which checks for IE6 and earlier (lte = less than or equal to).

  • Mike says:

    I love how this page throws javascript errors if you’re using IE6.

  • I think the code is bad for content oriented sites that are indexed in search engines frequently or have high volume data throughput.
    You should inject the text using an external JavaScript file which only gets loaded when the browser version is less or equal 6.
    You should also add an effect to emphasize the message by adding a semi transparent dark backgound (yes IE6 supports that) and require the user to *manually* close that message before the site can be used.
    [sourcecode language='html']

    @import url(’ie6.css’);[/sourcecode]Yes, that’s the IE4 style import syntax for the Windows 98 and 95 users still stuck with that!
    [sourcecode language='js']
    var text = ‘You are using an outdated browser version…’;
    document.write(” + text + ”);[sourcecode]
    [sourcecode language='css']
    #browser-wrapper {
    vertical-align: center;
    margin: 0 auto 0 auto;
    text-orientation: middle;

    • I understand your sentiment but the whole point of this code is to make it as unobtrusive and nonirritating as possible. The CSS solution was created so people can place the warning anywhere within their existing page - be it on the top, in a box in the sidebar, before or after content or whatever. That way it doesn’t ram the information down the throats of people who are still using IE6 but still gets the name across.

      As for SEO, it makes no difference. and if you think it does, just place the code further down on your site.

  • Damn, I was still writing, what site submits a multiline Text field when you press enter?

  • Resubmitting this properly:

    I think the code is bad for content oriented sites that are indexed in search engines frequently (because you instruct people to add the message right after the body tag/beginning of the site, which serves as decription in many cases) or have high volume data throughput.
    You should inject the text using an external JavaScript file which only gets loaded when the browser version is less or equal 6.
    You should also add an effect to emphasize the message by adding a semi transparent dark backgound (yes IE6 supports that) and require the user to *manually* close that message before the site can be used.

    @import url(’ie6.css’);
    Yes, that’s the IE4 style import syntax for the Windows 98 and 95 users still stuck with that! And noone cares about validation here, as long as it serves it’s purpose, right? :)
    The cheap JS:

    var text = 'You are using an outdated browser version... Click to hide this and get an update';
    function hide() {
    document.getElementById('browserwrapper').style.display = 'none';
    document.getElementById('browsernotice').style.display = 'none';
    document.getElementById('browserwrapper').style.visibility = 'hidden';
    document.getElementById('browsernotice').style.visibility = 'hidden';
    window.open('http://www.microsoft.com/windows/products/winfamily/ie/default.mspx');
    }
    document.write('You are using an outdated browser version... Click to hide this and get an update');

    The CSS file (I like the colors):

    #browserwrapper
    {
    margin: 0 0 0 0;
    background-color: #000000;
    color: #FFFFFF;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=80%);
    z-index: 50;
    vertical-align: middle;
    vertical-align: middle;
    text-align: center;
    display: block;
    }
    #browsernotice
    {
    border: 4pt solid white;
    margin: 50px auto 50px auto;
    vertical-align: middle;
    position: fixed;
    background-color: #FF0000;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: large;
    font-weight: bolder;
    font-style: normal;
    font-variant: normal;
    color: #FFFFFF;
    text-decoration: none;
    filter: alpha(opacity=100%);
    display: block;
    text-align: center;
    }

    Could probably be more advanced… but… I didn’t feel like that… after my browser crashed three times :)

  • It stripes out script and style tags with spaces inbetween? :(
    maybe a simple textfile is better: http://dynamicsnetwork.net/Files/stoplivinginthepast.txt

  • Michael says:

    What about people who can’t upgrade to IE7 because they’re using something older than XP? I still get visits from Windows 2000 machines to my site. :/

  • Tim says:

    As I have been mostly a front end / css developer, I am absolutely thrilled that ppl are starting to influence the upgrade from ie6. I think these are all awesome suggestions as to how one could deliver the message on their site, be it a simple callout or a demanding popup dialog.

    Nonetheless, I hope ppl keep their suggestions flowing and continue to progress the move to eliminate ie6 once and for all!

  • Morten says:

    This is not enough. We need code that completely blocks the user from visiting the website if they are using IE6. A warning can be ignored, but if you know the website contains important information you need, you will be forced to upgrade.

  • IShotIE6 says:

    The code is fine, handy, needed, and finally a wake up call.

    http://forums.whirlpool.net.au/forum-threads.cfm?f=7 it’s been there for a while now…..and honestly what are you guys complaining about. The end of misery and you complain about the placement….huh!!

    There’s absolutely nothing wrong, besides who cares if the user goes elsewhere with their shitty browser and poor attitude. It cost nothing to upgrade your broswser than buy your shiny new iPhone or Plasma tv or Bluray player/recorder.

    If any of my clients want support for IE6 i charge them double the price if they refuse to educate themselves.

    Drive the ignoramuses away!!

  • IShotIE6 says:

    Long live the good clean clutter free web.

  • Poe says:

    Qustion: Where is my plugin?

    I installed this plugin, and it came up with the yellow “plugin installed” box.. However, I don’t see it in the active list or inactive list so there is no way for me to activate it or deactivate it.

    Is this a bug?

    • What a weird bug. I just tested the plugin from the directory and got the exact same result. It works fine but seems to be hiding from the plugin list in admin view. I’ll take a closer look at it tomorrow and figure out why that’s happening. In the meantime rest assured the plugin works just fine.

    • Poe: I figured out what’s wrong. To make the plugin appear in your list upload the StopLivingInThePast.php file directly to the plugins directory rather than a sub-directory. that’s all there is to it.

  • baron says:

    hi. Thanks for plugin

    perfect.

    Regards

  • Ben says:

    Looks great. I will definitely add to my site, and any future sites I (may) make.

Trackbacks / Pingbacks

Leave a Reply

You must be logged in to post a comment.