PageSourceSearch

https://www.town.nishiaizu.fukushima.jp/ssi/js/checksp.js

js town.nishiaizu.fukushima.jp collected 2026-10-02 07:10:11 UTC 758 bytes, 23 lines download raw bytes

1;(function($){
2	$.fn.checkSP = function(){
3		var deviceWidth = document.documentElement.clientWidth;
4		function ua(tgt) {
5			var nut = navigator.userAgent.toLowerCase();
6			var uaChk = {
7				"iphone"	:nut.indexOf("iphone") != -1, //iPhone
8				"ipad"		:nut.indexOf("ipad") != -1,	 //iPad
9				"android" :nut.indexOf("android") != -1,	//Android 
10				"mobile"	:nut.indexOf("mobile") != -1, //Android 'android' かつ 'mobile' の場合、androidスマートフォンと判定
11				"ie"	:nut.indexOf("ie") != -1
12			};
13			return uaChk[tgt];
14		}
15		if(sessionStorage['view'] == 'pc'){
16			return false;
17		}else if(ua('iphone') || (ua('android') && ua('mobile')) || deviceWidth <= 480){
18			return true;
19		}else{
20			return false;
21		}
22	}
23})(jQuery);

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.