Coder Social home page Coder Social logo

adapt-ie-check's Introduction

adapt-IE-Check

An extension to raise an alert if the wrong version of Internet Explorer is used or it has been configured to run in any mode other than 'Edge Mode'.

An alert will be raised if:

  • The version of IE being used is less than the minimum supported version (defaults to 8 but can be changed)
  • Enterprise Mode (IE11 only) is enabled
  • Compatibility view is switched on
  • Some form of compatibility mode is active (i.e. the 'document mode' is less than the actual version)

Mainly used in the Adapt Scorm Test but could be used in any course where there's a risk of IE doing one of the above.

In order to change any of the error messages or the minimum supported version of IE you'll have to edit js/adapt-IE-Check.js - if we were to store any of the values in JSON there's good chance Adapt wouldn't even be able to load them in some circumstances.

adapt-ie-check's People

Contributors

moloko avatar chris-steele avatar danielghost avatar

Stargazers

Ted Curran avatar hkalant avatar

Watchers

James Cloos avatar  avatar Ignacio Cinalli avatar Stuart avatar Anuj Gautam avatar  avatar  avatar Joseph Replin avatar Oliver Foster avatar  avatar james rea avatar

adapt-ie-check's Issues

doesn't work for IE11

Unfortunately this doesn't work for IE11 as it changes the user agent string when in a different document mode.

So, if you put IE11 into IE9 mode the user agent string will be:
"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.3; Trident/7.0; .NET4.0E; .NET4.0C)"

Unfortunately this makes the Bowser library return the IE version as 9.0 rather than 11.00

Need to look at using something like https://github.com/Gavin-Paolucci-Kleinow/ie-truth to solve this

IE compatibility in Adapt V4

Since Adapt v4 is not working in compatibility view, can we put some pop up or alert for the learner for them to know thay the course will not work in compatibility view?

Also, I tried to use the adapt-IE-check plugin and it is not working when in compatibility view.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.