Skip to content
提示升级浏览器
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
lib
test
.gitignore
Gruntfile.js
README.md
package.json

README.md

升级浏览器

兼容浏览器

IE 6+, Chrome, Firefox ...

调用方法

outdatedbrowser 不传参数默认使用已定义好的

window.onload = function  (argument) {
    window.outdatedbrowser()
};

不使用默认数据

window.onload = function  (argument) {
    window.outdatedbrowser({
        "chrome":{
            "url":"http://www.google.com/chrome",
            // "available":["windows","mac","linux"],
            "title":"GOOGLE CHROMSSSSSE"
        },
        "firefox":{
            "url":"http://www.mozilla.org/firefox/new/",
            "available":["windows","mac","linux"],
            "title":"Mozilla Firefox"
        }
    })
};
You can’t perform that action at this time.