Skip to content

jaywcjlove/outdatedbrowser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

升级浏览器

兼容浏览器

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

About

提示升级浏览器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published