PageSourceSearch

https://phmhotels.com/js/script.js

js phmhotels.com collected 2026-09-29 10:55:20 UTC 838 bytes, 26 lines download raw bytes

1$(function(){
2// IPad/IPhone
3	var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'),
4    ua = navigator.userAgent,
5 
6    gestureStart = function () {
7        viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
8    },
9 
10    scaleFix = function () {
11      if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) {
12        viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
13        document.addEventListener("gesturestart", gestureStart, false);
14      }
15    };
16scaleFix();
17// Android
18	var userag = navigator.userAgent.toLowerCase();
19	var isAndroid = userag.indexOf("android") > -1; 
20	if(isAndroid) {
21		$('.sf-menu').responsiveMenu({autoArrows:true});
22	}
23// IPhone
24if ( navigator.userAgent.indexOf('iPhone') != -1 ) {
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.