PageSourceSearch

https://enposs.eu/wordpress/wp-content/themes/enposs_test/js/scripts.js

js enposs.eu collected 2026-09-24 09:58:46 UTC 569 bytes, 17 lines download raw bytes

1jQuery(function($){
2	$('.autolink').autolink();
3	$('.autolink').mailto();
4});
5
6jQuery.fn.autolink = function () {
7	return this.each( function(){
8		var re = /((http|https|ftp):\/\/[\w?=&.\/-;#~%-]+(?![\w\s?&.\/;#~%"=-]*>))/g;
9		$(this).html( $(this).html().replace(re, '<a href="$1">$1</a> ') );
10	});
11};
12jQuery.fn.mailto = function () {
13	return this.each( function() {
14		var re = /(([a-z0-9*._+]){1,}\@(([a-z0-9]+[-]?){1,}[a-z0-9]+\.){1,}([a-z]{2,4}|museum)(?![\w\s?&.\/;#~%"=-]*>))/g
15		$(this).html( $(this).html().replace( re, '<a href="mailto:$1">$1</a>' ) );
16	});
17};

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.