1/******* Do not edit this file ******* 2Simple Custom CSS and JS - by Silkypress.com 3Saved: Nov 17 2022 | 14:19:41 */ 4 5 6 7jQuery(document).ready(function( $ ){ 8 // Your code in here 9 10 var myDate = new Date(); 11 var checkin = myDate.getDate(); 12 var checkout = new Date(); 13 checkout.setDate(myDate.getDate() + 1); 14 15 16 function formatDate(date) { 17 var d = new Date(date), 18 month = '' + (d.getMonth() + 1), 19 day = '' + d.getDate(), 20 year = d.getFullYear(); 21 if (month.length < 2) month = '0' + month; 22 if (day.length < 2) day = '0' + day; 23 return [year, month, day].join('-'); 24 } 25 26 27 28 29 30 checkin = formatDate(myDate); 31 checkout = formatDate(checkout); 32 33 var newurl ="https://book.octorate.com/octobook/site/reservation/result.xhtml?checkin=" + checkin + "&checkout="+ checkout + "&pax=2&codice=932093"; 34 35 36 37 $(".book_link a").each(function() { 38 //alert($(this).attr('href')); 39 $(this).attr('href',newurl) 40 41 }); 42 43 $("a.book_link").each(function() { 44 //alert($(this).attr('href')); 45 $(this).attr('href',newurl) 46 47 }); 48 49 50}); 51 52
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.