PageSourceSearch

https://www.notariosyregistradores.com/web/wp-content/cache/wpfc-minified/md8v18ic/3tkv0.js

js notariosyregistradores.com collected 2026-09-24 10:08:54 UTC 2,954 bytes, 81 lines download raw bytes

1// source --> https://www.notariosyregistradores.com/web/wp-content/themes/coma/js/nyr.js 
2( function($) {
3
4
5	$(document).ready( function() {
6		$('body').on( 'click', 'a', function(event){
7		   var a = new RegExp('/' + window.location.host + '/');
8		   if(!a.test(this.href) && this.href != "" && this.href.indexOf('mailto:') < 0 ) {
9			   event.preventDefault();
10			   event.stopPropagation();
11			   window.open(this.href, '_blank');
12		   }
13		});
14
15		$.ajax({
16			type: "GET",
17			url: '/counter/counter.php?t=' + (new Date()).getTime() + '&u=' + document.location,
18			success: function(data) {
19				$('.hitCounter').html(data);
20			}
21		});
22		
23		
24	});
25	
26    $(".bookmarkme a").click(function() {
27      if (window.sidebar) { // Mozilla Firefox Bookmark
28        window.sidebar.addPanel(location.href,document.title,"");
29      } else if(window.external) { // IE Favorite
30        window.external.AddFavorite(location.href,document.title); }
31      else if(window.opera && window.print) { // Opera Hotlist
32        this.title=document.title;
33        return true;
34	  }
35	});	
36	
37})( jQuery );
38
39function linksBOE(selector){
40	var RE = new RegExp('([0]?[1-9]|[1|2][0-9]|[3][0|1])[./-]([0]?[1-9]|[1][0-2])[./-]([0-9]{4}|[0-9]{2})');
41	jQuery(selector).each(function(){
42		try{
43			if(RE.test(jQuery(this).text())){
44				var f = RE.exec(jQuery(this).text());
45				f[3] = parseInt(f[3]);
46				if( f[3] < 1000)
47					f[3] += 2000;
48				if(f[3] > 2020)
49					f[3] -= 100;
50
51				// "05%2F09%2F1945":
52				var fecha = "" + ('00' + f[1]).substr(-2)  + '%2F'
53					+ ('00' + f[2]).substr(-2)  + '%2F'
54					+ f[3];
55				
56				var r = '<a href="';
57				if(f[3] >= 1960){
58					r += "http://boe.es/buscar/otras_disposiciones.php?campo[0]=TIT&dato[0]=recurso&operador[0]=and&campo[1]=ID_RNG&dato[1]=&"
59						+ "operador[1]=and&campo[2]=ID_DEM&dato[2]=&operador[2]=and&campo[3]=DOC&dato[3]=&operador[3]=and&campo[4]=NBO&dato[4]=&"
60						+ "operador[4]=and&campo[5]=DOC&dato[5]=&campo[6]=TIT&dato[6]=&operador[7]=and&campo[7]=FPU";
61					r += "&dato[7][0]=" + fecha
62						+ "&dato[7][1]=" + fecha;
63					r += "&operador[8]=and&campo[8]=FAP&dato[8][0]=&dato[8][1]=&page_hits=40&sort_field[0]=FPU&sort_order[0]=desc&"
64						+ "sort_field[1]=ref&sort_order[1]=asc&accion=Buscar";
65				}else{
66					r += "http://www.boe.es/buscar/gazeta.php?campo[0]=ID_HIS&dato[0]=&operador[0]=and&campo[1]=TIT&dato[1]=recurso"
67						+ "&operador[1]=and&campo[2]=ID_RNG&dato[2]=&operador[2]=and&campo[3]=ID_DEM&dato[3]=&operador[3]=and"
68						+ "&campo[4]=TIT&dato[4]=&operador[4]=and&campo[5]=ID_GAZ&dato[5]=&operador[5]=and&campo[6]=NBO&dato[6]=&operador[7]=and"
69						+ "&campo[7]=FPU&dato[7][0]=";
70
71					r += fecha;
72					r += "&dato[7][1]=&operador[8]=and&campo[8]=FAP&dato[8][0]=&dato[8][1]=&page_hits=40&sort_field[0]=FPU&sort_order[0]=desc"
73						+ "&sort_field[1]=ref&sort_order[1]=asc&accion=Buscar";
74				}
75				r += '">' + f[0] + '</a>';
76				
77				jQuery(this).html(r).addClass('linkBOE');
78			}
79		}catch(err){}
80	});
81};

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.