1$(function(){ 2 3 if($('#mailer-iframe').length) { 4 5 var $iframe = $('#mailer-iframe'); 6 var $iframe_base_url = $iframe.attr('src'); 7 8 $.urlParam = function(name){ 9 var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href); 10 if (results==null){ 11 return null; 12 } else { 13 return results[1] || 0; 14 } 15 } 16 17 var $urlparams = '?'; 18 19 if($.urlParam('l')) { 20 $urlparams += 'l='+$.urlParam('l')+'&'; 21 } else if($('html')[0].lang == 'en-US') { 22 $urlparams += 'l=en&'; 23 } 24 25 if($.urlParam('p')) { 26 $urlparams += 'p='+$.urlParam('p')+'&'; 27 } 28 29 if($.urlParam('c')) { 30 $urlparams += 'c='+$.urlParam('c')+'&'; 31 } 32 33 $iframe.attr('src',$iframe_base_url+$urlparams); 34 35 $iframe.on("load reload", function(e) { 36 var h = this.contentWindow.document.body.scrollHeight 37 $(this).css({ 38 height: "" 39 }); 40 var h1 = this.contentWindow.document.body.scrollHeight 41 $(this).css({ 42 height: h +10 43 }).animate({ 44 height: h1 + 10 45 }); 46 }); 47 48 } 49 50});
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.