Internet Explorer detected #345
Unanswered
KozRipefruit
asked this question in
Q&A
Replies: 1 comment 4 replies
-
The alert message appears in Chrome? Do you have a link to check? For now, you can just delete IE-alert in main-theme // IE Warning
if (window.document.documentMode) {
let IEWarningDiv = document.createElement('div');
IEWarningDiv.setAttribute('class', 'position-fixed top-0 end-0 bottom-0 start-0 d-flex justify-content-center align-items-center');
IEWarningDiv.setAttribute('style', 'background:white;z-index:1999');
IEWarningDiv.innerHTML = '<div style="max-width: 90vw;">' + '<h1>' + bootscore.ie_title + '</h1>' + '<p className="lead">' + bootscore.ie_limited_functionality + '</p>' + '<p className="lead">' + bootscore.ie_modern_browsers_1 + bootscore.ie_modern_browsers_2 + bootscore.ie_modern_browsers_3 + bootscore.ie_modern_browsers_4 + bootscore.ie_modern_browsers_5 + '</p>' + '</div>';
document.body.appendChild(IEWarningDiv);
} Comment or delete it. You can also add a unique class like IEWarningDiv.setAttribute('class', 'ie-warning-alert position-fixed top-0...' and hide message by css: .ie-warning-alert {
display: none !important;
} Want to create a PR? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have no issue with checking for Internet Explorer, except the message has appeared in my CHROME browser.
How can I tweak / disable it?
Beta Was this translation helpful? Give feedback.
All reactions