Socket
Book a DemoInstallSign in
Socket

@atom-platform/es5-ie-blocker

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atom-platform/es5-ie-blocker

ES5 script to put up a full-page message that IE is not supported.

latest
npmnpm
Version
1.0.2
Version published
Maintainers
5
Created
Source

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.

Keywords

Internet Explorer

FAQs

Package last updated on 29 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts