Code Monkey home page Code Monkey logo

browserblast's Introduction

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

browserblast's People

Contributors

markgoodyear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

browserblast's Issues

Edge

Hi Mark.
Can you make your BrowserBlast working for targeting any IE version?
I tried supportedIE: '12, but obviously that’s not working.
Think, with css grid, your thing could experience a revival.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.