1.0.2 • Published 5 years ago

@atom-platform/es5-ie-blocker v1.0.2

Weekly downloads
465
License
MIT
Repository
-
Last release
5 years ago

ES5 Internet Explorer Blocker

npm version

Used for IE versions 9, 10, and 11.

This script creates a full-page blocker that lets the user know that they need to download a more modern browser instead.

screenshot

Usage:

####Angular 2+ Projects: This was written originally for use in Angular 2+ projects. This will stop app logic from executing (in case IE does work partially, just not enough to be supported), though if you have any global styles set it might affect the blocker.

To use, add

import '@atom-platform/es5-ie-blocker';

to your application's polyfills.ts file. This way it executes before Angular does.

Non-Angular 2+ Projects:

I'm not familiar with the specifics of the other JS frameworks out there, but this should work in a <script> tag regardless of platform. If there's anything your framework provides that's intended to import files and run them prior to your application logic, you can use it in the same way as the Angular way specified above.

I cannot guarantee it will stop any application logic from executing on non-Angular 2+ framework.

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago