BrowserBlast is a lightweight and fully customisable script to display a warning for users of IE7 and below to let them know their browser isn’t supported anymore.
http://markgoodyear.com/labs/browserblast/
http://markgoodyear.com/2013/02/browserblast-2-relaunch/
Include the browserBlast.min.js
file in your document and place the following into the head of your document to initiate the plugin. Make sure you've also included jQuery.
<script type="text/javascript" src="browserBlast.min.js"></script>
<script>
browserBlast();
</script>
browserBlast({
devMode: false, // Show warning on all browsers for testing
supportedIE: '8', // Supported IE version, warning will display on older browsers
message: 'Hey! Your browser is unsupported. Please <a href='http:// browsehappy.com' target='_blank'>upgrade</a> for the best experience.' // Set custom message
});
If you have any issues, feedback or suggestions, please log an issue on Github or find me on Twitter: @markgdyr.
- 2.0.0 - Vanilla JS release, no jQuery dependancies
- 1.0.0 - Initial release