Browser Out of Date – JavaScript Plugin

Hey everyone,

I’m about to launch a new site and was looking into a quick and easy way to advise users with older browsers to upgrade. A bit of a Google revealed Browser-Update.org. They have a simple script that you add to your site and it will not only inform them that their browser is outdated, but also provide them with instructions on how to replace it.

All you’ve got to do is place their script on your site somewhere:

1
2
3
4
5
6
7
8
9
10
11
<script type="text/javascript"> 
var $buoop = {} 
$buoop.ol = window.onload; 
window.onload=function(){ 
 try {if ($buoop.ol) $buoop.ol();}catch (e) {} 
 var e = document.createElement("script"); 
 e.setAttribute("type", "text/javascript"); 
 e.setAttribute("src", "http://browser-update.org/update.js"); 
 document.body.appendChild(e); 
} 
</script>

You can customise the versions by visiting their site and using the script generator. Once you’ve got it setup, users with older browsers will see a bar at the top of their page:

Browser-Update.org plugin

Browser-Update.org plugin

Let me know if you come across any other useful plugins.

Cheers,
Chris

One thought on “Browser Out of Date – JavaScript Plugin

Leave a Reply