1// display none 2function getStyle(x, styleProp) { 3 if (x.currentStyle) { 4 var y = x.currentStyle[styleProp]; 5 } 6 else if (window.getComputedStyle) { 7 var y = document.defaultView.getComputedStyle(x, null).getPropertyValue(styleProp); 8 } 9 return y; 10} 11function ftnone(e, div_name) { 12 var el = document.getElementById(div_name); 13 var display = el.style.display || getStyle(el, 'display'); 14 el.style.display = (display == 'none') ? 'block' : 'none'; 15 ftnone.el = el; 16 if (e.stopPropagation) e.stopPropagation(); 17 e.cancelBubble = true; 18 return false; 19} 20// link ngoai 21document.addEventListener("DOMContentLoaded", function() { 22 if (document.getElementById("foxglobal")) { 23 const allLinks = document.querySelectorAll("a"); 24 allLinks.forEach(link => { 25 if (link.hostname && link.hostname !== location.hostname) { 26 if (!link.hasAttribute("target")) { 27 link.setAttribute("target", "_blank"); 28 } 29 if (!link.getAttribute("rel") || !link.getAttribute("rel").includes("nofollow")) { 30 link.setAttribute("rel", (link.getAttribute("rel") || "") + " nofollow"); 31 } 32 } 33 }); 34 } 35}); 36 37 38 39
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.