Active
Project:
IE8
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2018 at 14:06 UTC
Updated:
20 Aug 2019 at 03:04 UTC
Jump to comment: Most recent, Most recent file
I had just completed a Drupal 8.5 site and was then told it had to support IE8 :(
This module gets you most of the way there but D8's drupal.js is Incompatible in D8.5 so essentially nothing works.
My solution was to modify the latest D7 drupal.js to work with D8.5. The functional differences are surprisingly, not that many:
The attached patch will add the modified drupal.js to the modules js folder and an entry in the modules hook_library_info_alter to use this file
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2957350-2-drupal-js-incompatible-in-D8-5.patch | 20.71 KB | imperator_99 |
| drupal_js.patch | 20.77 KB | webfaqtory |
Comments
Comment #2
imperator_99 commentedHey @webqfactory this patch works perfectly as far as I can see. I went from a dozen or so broken scripts to two, neither of which are related to this module!
Cheers,
Jesse.
Comment #3
imperator_99 commentedThe earlier patch adds the 'has_js' cookie which isn't necessary for the proper functioning of Drupal 8 - this very slightly updated patch removes that part of it.