https://github.com/panteng/ie-blocker
A lightweight modal for asking website visitors to stop using outdated IE browsers.
https://github.com/panteng/ie-blocker
cross-browser ie6 ie7 ie8 ie9
Last synced: 24 days ago
JSON representation
A lightweight modal for asking website visitors to stop using outdated IE browsers.
- Host: GitHub
- URL: https://github.com/panteng/ie-blocker
- Owner: panteng
- Created: 2015-10-08T07:42:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-21T15:37:47.000Z (over 5 years ago)
- Last Synced: 2025-05-08T01:16:25.492Z (24 days ago)
- Topics: cross-browser, ie6, ie7, ie8, ie9
- Language: JavaScript
- Homepage:
- Size: 655 KB
- Stars: 52
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IE-Blocker
A lightweight modal for asking website visitors to stop using outdated IE browsers.

## Demos
Please use **IE 6-9** to visit the following links:
[Live Preview - English Version](https://panteng.github.io/ie-blocker/demos/demo.en.html)
[实时预览 - 中文版](https://panteng.github.io/ie-blocker/demos/demo.zhCN.html)
You will see a modal dialog which asks you to switch to a modern browser.
## Installation
### Install through npm or Bower
// With npm
npm install ie-blocker --save// With Bower
bower install ie-blocker --save## Usage
Include **ie-blocker.css** and **ie-blocker.en.js** in the `` tag. And wrap them into conditional comments for IE:
## Options
- img-path:
By default, browser icon images are placed under the **img** folder within the same directory of **ie-blocker.en.js**.
You can change the path by adding the `img-path` attribute:
The value of option `img-path` is a relative path to the **ie-blocker.en.js** file. Don't forget the '/' at the end.
## License
MIT