PageSourceSearch

https://www.karatsu-kankou.jp/js/autoUrlLink.js

js karatsu-kankou.jp collected 2026-10-03 21:24:05 UTC 397 bytes, 8 lines download raw bytes

1    /* 自動URLリンクプラグイン for jQuery
2    2009.1 By KaZuhiro FuRuhata  */
3    $.fn.urlAutoLink = function(baseURL){
4        return this.each(function(){
5            var srcText = this.innerHTML;
6            this.innerHTML = srcText.replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig, "<a href='$1' target='_blank'>$1</a>");
7        });
8    }

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.