1function init() { 2 3const IEoverlay = document.getElementsByClassName('IEPopup-wrapper')[0]; 4 5var ua = window.navigator.userAgent; 6var msie = ua.indexOf("MSIE "); 7var trident = ua.indexOf('Trident/'); 8 9if (IEoverlay && (msie > 0 || trident > 0)) { 10 // IE 11 IEoverlay.classList.add('active'); 12 13 const h2 = document.getElementsByClassName('IEPopup-window__headline')[0]; 14 const p = document.getElementsByClassName('IEPopup-window__text')[0]; 15 16 h2.innerHTML = TYPO3.lang['headline']; 17 p.innerHTML = TYPO3.lang['text']; 18 19 const x = document.getElementsByClassName('IEPopup-window__closebutton')[0]; 20 x.addEventListener('click', function () { IEoverlay.classList.remove('active') }); 21 } 22} 23 24init();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.