PageSourceSearch

https://www.cronacheancona.it/wp-content/themes/WpNewspaper/javascript/home.js

js cronacheancona.it collected 2026-10-02 10:18:20 UTC 1,127 bytes, 38 lines download raw bytes

1jQuery(document).ready(function(){
2	
3	//ricerca commentatori		
4	jQuery("#userCommentSelect").change(function(){
5		var user_page = parseInt(jQuery(this).val())
6		if (user_page != "" && typeof user_page == "number")
7		location.href = "/?author=" + user_page
8	})
9	
10	//ricerca avanzata
11	jQuery('#customSearch').submit(function(){
12		var month = jQuery("#month").val()
13		var year = jQuery("#year").val()
14		var query = jQuery("#advSearch").val()
15		if (query == "") {
16			alert('Devi inserire del testo da ricercare')
17			return false
18		}
19		if (month == "0" && year == "0") return true
20		if (month == "0") { 
21			alert('Devi scegliere anche il mese oltre l\'anno ')
22			return false
23		}
24		if (year == "0") { 
25			alert('Devi scegliere anche l\'anno oltre al mese ')
26			return false
27		}
28		var mes = parseInt(month.replace(/[^0-9-]/,""), 10)
29		if (year == "2008" && mes < 9) {
30			alert('Non ci sono articoli in questo periodo ')
31			return false	
32		}
33		var date = year + month
34		jQuery("#date").val(date)
35		jQuery("#month").attr('disabled', 'disabled')
36		jQuery("#year").attr('disabled', 'disabled')
37	})
38})

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.