Skip to content

mathieudutour/Meteor-outdated-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A time saving tool for developers. It detects outdated browsers and advises users to upgrade to a new version. Meteor version of Outdated Browser v1.1.0.

Installation

$ meteor add matdutour:outdated-browser

Usage

UI.body.rendered = function () {
  new OutdatedBrowser({
    message: "Update your browser to view this website correctly.",
    title: "Your browser is out-of-date!",
    button: "Update my browser now ",
    bgColor: "#F25648",
    color: "#FFF",
    lowerThan: "transform"
  });
}

Targeting browsers:

You can do it in one of two ways: using Internet Explorer browsers as reference or specifying a CSS property. The outcome is the same, choose what is easier for you.

Lower Than (<):

  • "IE11","borderImage"
  • "IE10", "transform" (Default property)
  • "IE9", "boxShadow"
  • "IE8", "borderSpacing"

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published