1function overlayErrorShow(errno) { 2 switch (errno) { 3 case 1: 4 $("#ErrorIcon").prop("src", "images/icons_error/icon_adobe_flash_player.png"); 5 $('#ErrorHeadline').html("Flash Required"); 6 $('#ErrorDetails').html("Please make sure your Flash plugin is enabled.<br />If it is missing, please install it by visiting the link below."); 7 $("#ErrorLink").show(); 8 $("#ErrorLink").prop("href", "https://get.adobe.com/flashplayer/"); 9 $("#ErrorLink").prop("text", "https://get.adobe.com/flashplayer/"); 10 break; 11 case 2: 12 $("#ErrorIcon").prop("src", "images/icons_error/icon_ad_blocker.png"); 13 $('#ErrorHeadline').html("Ad Blocker Detected"); 14 $('#ErrorDetails').html("Please disable your ad blocker for this site to enjoy the stream."); 15 $("#ErrorLink").prop("href", ""); 16 $("#ErrorLink").prop("text", ""); 17 $("#ErrorLink").hide(); 18 break; 19 default: 20 $("#ErrorIcon").prop("src", "images/icons_error/error_alert-512.png"); 21 $('#ErrorHeadline').html("Error!"); 22 $('#ErrorDetails').html(""); 23 $("#ErrorLink").prop("href", ""); 24 $("#ErrorLink").prop("text", ""); 25 $("#ErrorLink").hide(); 26 } 27 var ermodal = document.getElementById("ErrorContainer"); 28 classie.add(ermodal, 'er-show'); 29} 30 31var ErrorModalEffects = (function () { 32 function init() { 33 var overlay = document.querySelector('.er-overlay'); 34 var modal = document.querySelector('.er-modal'); 35 //close = modal.querySelector('.od-close'); 36 37 function removeModal(hasPerspective) { 38 classie.remove(modal, 'er-show'); 39 if (hasPerspective) { 40 classie.remove(document.documentElement, 'md-perspective'); 41 } 42 } 43 44 function removeModalHandler() { 45 removeModal(classie.has(el, 'md-setperspective')); 46 } 47 }
48 init(); 49})();
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.