1function show_javascript_only_elements() 2{ 3 var elementsToMakeVisible = co_getElementsByClassName("JSjavascriptOnly"); 4// for(index in elementsToMakeVisible) 5 for(index=0, l=elementsToMakeVisible.length; index<l; index++) 6 { 7 if(typeof elementsToMakeVisible[index].style != "undefined") elementsToMakeVisible[index].style.visibility = "visible"; 8 } 9 10 if(document.all && window.external) 11 { 12 var elementsToMakeVisible = co_getElementsByClassName("JSieOnly"); 13 14// for(index in elementsToMakeVisible) 15 for(index=0, l=elementsToMakeVisible.length; index<l; index++) 16 { 17 if(typeof elementsToMakeVisible[index].style != "undefined") elementsToMakeVisible[index].style.visibility = "visible"; 18 } 19 } 20} 21 22function hotFixForACP(){ 23 24var oldPaper = document.getElementById("generator"); 25 26if(oldPaper){ 27 var jBanner = document.getElementById("j-banner"); 28 if(jBanner){ 29 jBanner.classList.remove("hide-on-tablet"); 30 jBanner.classList.remove("hide-on-mobile"); 31 } 32 33 var jMobileBanner = document.getElementById("j-mobile-banner"); 34 if(jMobileBanner){ 35 jMobileBanner.style.display = 'none'; 36 } 37 38 39 var mobileNavigationWrapper = document.getElementById("mobile-navigation-wrapper"); 40 if(mobileNavigationWrapper){ 41 mobileNavigationWrapper.style.display = 'none'; 42 } 43 44 var mobileSearch = document.getElementById("mobile-search"); 45 if(mobileSearch){ 46 mobileSearch.style.display = 'none'; 47 } 48 49 50 var jTopic = document.getElementById("j-topic"); 51 if(jTopic){ 52 jTopic.style.top = '1px'; 53 } 54 55} 56 57} 58 59add_onload_action("show_javascript_only_elements()"); 60add_onload_action("hotFixForACP()");
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.