Displays a visual warning at the top of a page when a user has 'Compatibility View' mode enabled in Internet Explorer.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.jshintrc
compatibilityViewWarning.js
compatibilityViewWarning.min.js
compatibilityViewWarning.min.js.map
license.md
makefile
readme.md

readme.md

compatibilityViewWarning

Displays a visual warning at the top of a page when a user has 'Compatibility View' mode enabled in Internet Explorer.

Only 1.1kb minified and gzipped!

Installation

Just include the minified script on your page, and that's it!

<script src="https://raw.github.com/okize/compatibilityViewWarning/master/compatibilityViewWarning.min.js"></script>

Example

See okize.github.io/compatibilityViewWarning for an example page, but basically it looks like this:

compatibilityViewWarning in action

Dependencies

No dependencies, not even jQuery!

License

MIT license. See the license file for details.