V
V
Vadim2015-01-29 17:43:16
JavaScript
Vadim, 2015-01-29 17:43:16

How to stop loading scripts if Internet Explorer 6 (7/8)?

I want to stop / not load other scripts in the head (for example, angular.min.js) if the browser is < IE 9.
To do this, <!--[if lt IE 9]>I tried the standard methods using: warning.js, ie-upgrade-modal.js, browser-update.org and such advice from the stacks - // special not IE6 stuff.
Internet Explorer 8 still loads the rest of the scripts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2015-01-29
@voznik

Cut on the server side by user agent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question