CheckBrowser-JS
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Javascript to warn user about deprecated browser
checkBrowser-JS
===============

An easy way to warn user about deprecated browser.


Usage
-----
* Insert checkbrowser.js (<script src="checkbrowser.js"></script>)
* Call checkBrowser.warning() after page load (window.onload = function() { checkBrowser.warning(); })


Features
--------
* Unobtrusive (shows message once per visit)
* Browser detection (checkBrowser.getBrowser() returns an array with browser name and version)
* Multilanguage (with automatic user language detection)
* Customizable (modify css/checkbrowser.css)


Optional
--------
* Modify styles in checkbrowser.css
* Spicify config in checkBrowser.warning() (window.onload = function() { checkBrowser.warning({language:'en', css:'css/checkbrowser.css'}); })
* Modify defaults in checkbrowser.js


Config options
--------------
* cookie — cookie name
* css — path to css file
* language — user language
* messages — warning messages array
* modern — modern browsers
* browsers — show this browsers in warning


License
-------
* Copyright (c) 2012 by Dmitry Elfimov
* Released under the MIT License.
* http://www.opensource.org/licenses/mit-license.php

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。