Skip to content

6/browser-deprecator

Repository files navigation

Give browser-deprecator a hash of browsers to check for (with minimum version numbers) and a callback for when the visitor's browser does not meet the criteria.

Screenshot:

Example usage (this will require MSIE >= version 7, Firefox >= version 3.6.6, and will deprecate any version of Opera):

$(function() {
  $.deprecate({
    msie: '7',
    mozilla: '3.6.6',
    opera: false
  });
});

Custom callback example:

function on_deprecated() {
  alert("Your browser is not supported!");
}

$(function() {
  $.deprecate({
    msie: '7',
    mozilla: '3.6.6',
    opera: false
  }, on_deprecated);
});

Download: zip or tar.gz

About

jQuery plugin that helps you deprecate old browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published