PageSourceSearch

https://orgel-zh.ch/portal/js/mail.js

js orgel-zh.ch collected 2026-10-02 13:40:15 UTC 710 bytes, 23 lines download raw bytes

1$(document).ready(function(){
2	doMailMe();
3});
4
5function doMailMe(){			   
6	$('a.mailme').each(function(aId, aObject){
7		var a = $(aObject);
8		if($(a).attr('href').indexOf("mailto:") == -1){
9			var at = / at /i;
10			var dot = / dot /ig;
11			var addr = decodeURIComponent($(a).attr('href')).replace(at,"@").replace(dot,".");
12			$(a).attr('href','mailto:'+addr);
13		}
14	});		   
15	$('span.mailme,p.mailme').each(function(spanId, spanObject){
16		var spt = $(spanObject);
17		var at = / at /i;
18		var dot = / dot /ig;
19		var addr = decodeURIComponent($(spt).text()).replace(at,"@").replace(dot,".");
20		$(spt).after('<a href="mailto:'+addr+'" title="'+addr+'">'+ addr +'</a>');
21		$(spt).remove();
22	});
23}

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.