-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
586d904
commit 2cd3f47
Showing
5 changed files
with
57 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,37 @@ | ||
#升级浏览器 | ||
# 升级浏览器 | ||
|
||
|
||
## 兼容浏览器 | ||
|
||
IE 6+, Chrome, Firefox ... | ||
|
||
## 调用方法 | ||
`outdatedbrowser` 不传参数默认使用已定义好的 | ||
|
||
```js | ||
window.outdatedbrowser({ | ||
"firefox":{ | ||
"url":"http://baidu.com" | ||
} | ||
window.onload = function (argument) { | ||
window.outdatedbrowser() | ||
}; | ||
``` | ||
|
||
|
||
|
||
}) | ||
``` | ||
|
||
## 不使用默认数据 | ||
|
||
```js | ||
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" | ||
} | ||
}) | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.