1(function($) { 2 $( document ).ready(function(){ 3 var backendUrl = '/technical-data/save-to-session.ajax.jsp'; 4 var backendUrl_c = '/technical-data/save-to-session-c.ajax.jsp'; 5 6 if (getUrlParameter('gac') && getUrlParameter('conversion_label') ){ 7 $.ajax({ 8 type : 'GET', 9 url : backendUrl, 10 cache : false, 11 data: { 12 'gac' : getUrlParameter('gac'), 13 'conversion_label' : getUrlParameter('conversion_label') 14 } 15 }); 16 } 17 18 if (getUrlParameter('cpid')){ 19 var call = backendUrl_c + '?cpid=' + getUrlParameter('cpid'); 20 $.ajax({ 21 type : 'GET', 22 url : backendUrl_c, 23 cache : false, 24 data: { 25 'cpid' : getUrlParameter('cpid') 26 } 27 }); 28 } 29 30 if (getUrlParameter('cnao')){ 31 var call = backendUrl_c + '?cnao=' + getUrlParameter('cnao'); 32 $.ajax({ 33 type : 'GET', 34 url : backendUrl_c, 35 cache : false, 36 data: { 37 'cnao' : getUrlParameter('cnao') 38 } 39 }); 40 } 41 }); 42 43 var getUrlParameter = function getUrlParameter(sParam) { 44 var sPageURL = decodeURIComponent(window.location.search.substring(1)), 45 sURLVariables = sPageURL.split('&'), 46 sParameterName, 47 i; 48 49 for (i = 0; i < sURLVariables.length; i++) { 50 sParameterName = sURLVariables[i].split('='); 51 52 if (sParameterName[0] === sParam) { 53 return sParameterName[1] === undefined ? true : sParameterName[1]; 54 } 55 } 56 }; 57}(jQuery));
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.