PageSourceSearch

https://www.vill.hirata.fukushima.jp/ssi/js/search-open-page-id.js

js vill.hirata.fukushima.jp collected 2026-10-02 07:37:00 UTC 883 bytes, 26 lines download raw bytes

1function search_open_page_id() {
2	if(document.getElementsByName("open_page_id")) {
3		var open_page_id = encodeURIComponent(document.getElementsByName("open_page_id")[0].value.trim());
4		var targetURL = '/search_open_page_id.php?open_page_id='+open_page_id+'&date=' + new Date().getTime();
5		var result = $.ajax({
6			type: 'GET',
7			url:  targetURL,
8			async: false
9	    }).responseText;
10		if(result.substr(0,1) == "/") {
11			window.location.href = result;
12		} else {
13		    document.getElementById("open_page_id_message").innerHTML = "該当ページはありません";
14		}
15	}
16	return;
17}
18
19jQuery(document).ready(function($){
20	// 入力フォームフォーカス時にEnterキー押下で検索ボタン(open_page_id_submit)クリック
21	$('#open_page_id').on('keypress',function(e){
22		if(e.which == 13){
23			$('#open_page_id_submit').click();
24		}
25	});
26});

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.