Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

v2.0.0: Rebuilt in vanilla JS

latest commit b0262a9fcb
Mark Goodyear authored
Failed to load latest commit information.
css v2.0.0: Rebuilt in vanilla JS
js v2.0.0: Rebuilt in vanilla JS
.gitignore Add plugin files
README.md v2.0.0: Rebuilt in vanilla JS
demo.html v2.0.0: Rebuilt in vanilla JS

README.md

BrowserBlast

Overview

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.

Demo

http://markgoodyear.com/labs/browserblast/

Article

http://markgoodyear.com/2013/02/browserblast-2-relaunch/

How to use

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>

Settings

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
});

Support

If you have any issues, feedback or suggestions, please log an issue on Github or find me on Twitter: @markgdyr.

Version history

  • 2.0.0 - Vanilla JS release, no jQuery dependancies
  • 1.0.0 - Initial release
Something went wrong with that request. Please try again.