1jQuery.jPrintArea=function(el){ 2 var iframe=document.createElement('IFRAME'); 3 var doc=null; 4 jQuery(iframe).attr('style','position:absolute;width:0px;height:0px;left:-500px;top:-500px;'); 5 document.body.appendChild(iframe); 6 doc=iframe.contentWindow.document; 7 var links=window.document.getElementsByTagName('link'); 8 for(var i=0;i<links.length;i++) 9 if(links[i].rel.toLowerCase()=='stylesheet') 10 doc.write(''); 11 doc.write(''+jQuery(el).html()+''); 12 doc.close(); 13 iframe.contentWindow.focus(); 14 iframe.contentWindow.print(); 15 doc.write(''); 16 document.body.removeChild(iframe); 17}
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.