https://rga7.com/

제출된 URL:
https://rga7.com/
보고서 완료:

링크 · 0개 결과

JavaScript 변수 · 9개 결과

이름유형
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
showTimefunction
tnumber
browerOSfunction
initModelfunction
loadIframefunction

콘솔 로그 메시지 · 4개 결과

유형카테고리로그
verbosedom
URL
https://rga7.com/h5/index.html#/
텍스트
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o
verbosedom
URL
https://rga7.com/h5/index.html#/
텍스트
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o
verbosedom
URL
https://rga7.com/h5/index.html#/
텍스트
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o
verbosedom
URL
https://rga7.com/h5/index.html#/
텍스트
[DOM] Password field is not contained in a form: (More info: https://goo.gl/9p2vKq) %o

HTML

<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
<title>RGA</title>
<link rel="icon" href="h5/static/logo.png">
<style type="text/css">

.model-pc {
	position: relative;
	background-color: #fff;
	width: 440px;
	height: 100vh;
	max-height: 960px;
	position: fixed;
	z-index: 10;
	left:0;
	right:0;
	top:0;
	bottom:0;
	margin: auto;
	box-sizing: border-box;
	overflow: hidden;
	background-image: url(images/iPhoneX_model.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	overflow: visible;
	
	padding: 12px 20px 12px 20px;
}

.model-iphone-x {
	width: 405px;
	height: 100vh;
	max-height: 910px;
	padding: 7px 16px 10px 14px;
}

.model-iphone {
	width: 440px;
	max-height: 960px;
	padding: 12px 16px 12px 14px;
}

.digit-time {
	position: absolute;
	left: 46px;
	top: 28px;
	color: #BECDE9;
	font-weight:bold;
	font-size: 14px;
}

.modal-content {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border-radius: 60px;
	overflow: hidden;
	padding-top: 42px;
	padding-bottom: 32px;
}

.iframe {
	height: 100%;
	width: 100%;
}

</style>

<script>
    function showTime(){
		var date = new Date();
		var year = date.getFullYear();/*返回当前年份*/
		var month=date.getMonth();/*返回当前月份 0~11*/
		var day = date.getDate();/*返回月中的天数 也就是日期*/
		var h = date.getHours();
		var m = date.getMinutes();
		var s = date.getSeconds();
		if(h<10){
			h = "0"+h;
		}
		if(m<10){
			m = "0"+m;
		}
		if(s<10){
			s = "0"+s;
		}
		document.getElementById("digit_time").innerHTML = h+":"+m;
	}
	var t = window.setInterval("showTime()",1000);

	function browerOS () {
		 var ua = navigator.userAgent,
		 isWindowsPhone = /(?:Windows Phone)/.test(ua),
		 isSymbian = /(?:SymbianOS)/.test(ua) || isWindowsPhone, 
		 isAndroid = /(?:Android)/.test(ua), 
		 isFireFox = /(?:Firefox)/.test(ua), 
		 isChrome = /(?:Chrome|CriOS)/.test(ua),
		 isTablet = /(?:iPad|PlayBook)/.test(ua) || (isAndroid && !/(?:Mobile)/.test(ua)) || (isFireFox && /(?:Tablet)/.test(ua)),
		 isPhone = /(?:iPhone)/.test(ua) && !isTablet,
		 isPc = !isPhone && !isAndroid && !isSymbian;
		 return {
			  isTablet: isTablet,
			  isPhone: isPhone,
			  isAndroid : isAndroid,
			  isPc : isPc
		 };
	}

	function initModel() {
		showTime();
		var os = browerOS();
		if(os.isPc) {
			var url =window.location.protocol+"//"+window.location.host+"/h5/index.html";
			document.getElementById("modal").style.display = "block";
			document.getElementById("app-modal").src=url;
			//判断页面是否刷新
			if(sessionStorage.getItem("isReload")){
				if(sessionStorage.getItem("iframe_url")){
					var lastUrl = sessionStorage.getItem("iframe_url");
					if(lastUrl == "about:blank") {
						document.getElementById("app-modal").contentWindow.location = url;
					}else{
						document.getElementById("app-modal").contentWindow.location = sessionStorage.getItem("iframe_url");
					}
				}				
			}else{
				sessionStorage.setItem("isReload", true)
			}
		} else {
			sessionStorage.removeItem("isReload");
			sessionStorage.removeItem("iframe_url");
			window.location.href = "h5";
		}
	}

	function loadIframe() {
		var mainFrame=document.getElementById('app-modal');
		document.title = mainFrame.contentWindow.document.title;
	}

	window.onbeforeunload = function () {
		var url = document.getElementById("app-modal").contentWindow.location;
		if(url != "about:blank") {
			sessionStorage.setItem("iframe_url", url);
		}
	}
</script>
</head>
<body onload="initModel()" onresize="initModel()">
<div id="modal" class="model-pc model-iphone-x" style="display: block;">
	<div id="digit_time" class="digit-time">12:31</div>
	<div class="modal-content">
		<iframe scrolling="auto" frameborder="0" id="app-modal" class="iframe" onload="loadIframe()" src="https://rga7.com/h5/index.html"></iframe>
	</div>
</div>

</body></html>