https://order.tk-onlinemall.com/index/user/login.html

Submitted URL:
https://order.tk-onlinemall.com/index/user/login.html
Report Finished:

The outgoing links identified from the page

JavaScript Variables · 18 found

Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope

NameType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
$function
jQueryfunction
intlTelInputGlobalsobject
intlTelInputfunction
appobject
Popperfunction
bootstrapobject

Console log messages · 2 found

Messages logged to the web console

TypeCategoryLog
verbosedom
URL
https://order.tk-onlinemall.com/index/user/login.html
Text
[DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) %o
warningother
URL
https://order.tk-onlinemall.com/red/jquery-3.3.1.min.js
Text
jQuery.Deferred exception: Cannot read properties of null (reading 'getAttribute') TypeError: Cannot read properties of null (reading 'getAttribute') at new c (https://order.tk-onlinemall.com/statics/vender/intl-tel-input-master/js/intlTelInput.min.js:7:10123) at https://order.tk-onlinemall.com/statics/vender/intl-tel-input-master/js/intlTelInput.min.js:8:1579 at HTMLDocument.<anonymous> (https://order.tk-onlinemall.com/index/user/login.html:150:15) at l (https://order.tk-onlinemall.com/red/jquery-3.3.1.min.js:2:29375) at c (https://order.tk-onlinemall.com/red/jquery-3.3.1.min.js:2:29677)

HTML

The raw HTML body of the page

<!DOCTYPE html><html lang="en" class="deeppurple-theme"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover, user-scalable=no"><meta name="description" content=""><title>Login</title><!-- Material design icons CSS --><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"><!-- Roboto fonts CSS --><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&amp;display=swap" rel="stylesheet"><!-- Bootstrap core CSS --><link href="/red/bootstrap/css/bootstrap.min.css" rel="stylesheet"><!-- Swiper CSS --><link href="/red/swiper/swiper-bundle.min.css" rel="stylesheet"><!-- Custom styles for this template --><link href="/red/style.css?v=V1.24" rel="stylesheet"><link rel="stylesheet" href="/static_new/css/public.css?v=V1.24"><link href="/public/js/layer_mobile/need/layer.css?2.0" type="text/css" rel="styleSheet" id="layermcss"><script src="/red/jquery-3.3.1.min.js"></script><script src="/statics/vender/intl-tel-input-master/js/intlTelInput.min.js"></script><link rel="stylesheet" href="/statics/vender/intl-tel-input-master/css/intlTelInput.min.css"><style>
			.iti--allow-dropdown {
				width: 100%
			}

			.iti--separate-dial-code .iti__selected-flag {
				background: none
			}

			.body {
				background-image: url('static/images/index/top-logo.png');
				/* 这里填入图片的路径 */
				background-size: cover;
				/* 背景图片覆盖整个页面 */
				background-repeat: no-repeat;
				/* 背景图片不重复 */
			}
		</style><link href="https://order.tk-onlinemall.com/public/js/layer_mobile/need/layer.css?2.0" type="text/css" rel="styleSheet" id="layermcss"></head><body class=""><div class="wrapper passport"><!-- header --><div class="header"><div class="row no-gutters"><div class="col-2"></div><div class="col-8 text-center"><span class="btn" style="width: 100%;display: none">Login</span></div><div class="col-2 text-right"><a href="/index/user/lang" class="btn btn-link text-dark"><i class="material-icons" style="display: inline-block;color: #FFF;">language</i></a></div></div></div><!-- header ends --><div class="container title" style="text-align: center"><img src="https://order.tk-onlinemall.com/upload/f09a6783bac6c804/4ed6cd45d1befa20.png" style="width: 70%;margin-top: 31%;border-radius: 10px"></div><div style="margin-left: 10px; margin-right: 10px ;border-radius: 10px background-color: transparent;"><div class="bg-default"><div class="row no-gutters login-row" style="background-color: transparent;"><div style="background-color: transparent;" class="col align-self-center px-3 text-center mt-4"><form class="form-signin mt-3 "><div class="aaa" style="text-align: left;color:#FFF;">Telephone</div><div class="form-group input-group" style="border-radius: 10px;border: 1px solid gray;height: 40px;margin-top: 3%;"><div class="input-group-prepend" style="display:none;"><button style=" color:#fff " onclick="window.location.href='/index/user/phoneArea'" class="btn dropdown-toggle address" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button><input type="hidden" name="code" value="1"><div class="dropdown-menu"><a class="dropdown-item" href="#">+1</a></div></div><input type="text" name="tel" class="form-control form-control-lg text-left" style="background-color: #fbfbfb;font-size: 16px;border-radius: 10px; height: 52px; border-radius: 10px" placeholder="Your mobile phone number" value="" required="" autofocus=""></div><div class="aaa" style="text-align: left;color:#FFF;margin-top: 7%">Login password</div><div class="form-group" style="margin-top: 2%"><input type="password" id="inputPassword" name="pwd" class="form-control form-control-lg text-left" style="background-color: #fbfbfb;border-radius: 10px; height: 52px;border: 1px solid gray; font-size: 16px" placeholder="Your password" value="" required=""></div><div class="form-group my-4 text-left" style=""><div class="custom-control custom-checkbox"><input type="checkbox" class="custom-control-input" id="rememberme"><div class="aaa" style="color:#FFF;margin-top: 7%">Your password?</div></div></div></form></div></div><div class="row mx-0 mt-4"><div class="col"><button class="btn btn-lg btn-rounded shadow btn-block login" style="background-color: #fe2c55;color: #fff;box-shadow: rgba(41,5,5,.15) -5px 10px 10px; border-radius: 10px; height:50px; line-height:55px; padding:0px;font-size: 18px;">Login</button><div class="" style="font-size: 12px; line-height: 60px; text-align: center; height: 60px"><a href="/index/user/register" style="color: #fff">Do you still have an account? ?</a><a href="/index/user/register" style="color: #ff004f">Registered account</a><!--<a href="/index/user/forget" class="col-6 d-block text-right">重设密码</a>--></div></div></div></div></div></div><div class="notification shadow pt-0 pl-0 pr-0 border-0 bg-template-light"><div id="notification_countdown"></div><div class="row pt-2 pl-3 pr-3"><div class="col-auto align-self-center pr-0"><i class="material-icons text-template md-36">redeem</i></div><div class="col small notification-content">loading...</div><div class="col-auto align-self-center pl-0"><button class="btn btn-link closenotification"><i class="material-icons text-template md-18 ">close</i></button></div></div></div><script type="text/javascript">
			var app = {
				'online_popup': "",
			}
		</script><!-- jquery, popper and bootstrap js --><script src="/red/popper.min.js"></script><script src="/red/bootstrap/js/bootstrap.min.js"></script><!-- swiper js --><script src="/red/swiper/swiper-bundle.min.js"></script><!-- cookie js --><script src="/red/jquery.cookie.js"></script><script charset="utf-8" src="/static_new/js/dialog.min.js"></script><link rel="stylesheet" href="/public/js/layer_mobile/need/layer.css"><script src="/public/js/layer_mobile/layer.js"></script><script charset="utf-8" src="/static_new/js/jquery.progressBarTimer.js"></script><script charset="utf-8" src="/static_new/js/common.js"></script><!-- template custom js --><script src="/red/main.js?v=V1.24"></script><script type="application/javascript">
			sessionStorage.setItem('login_flag', '1');
			$(function() {
				/*检查表单*/
				function check() {
					if ($("input[name=tel]").val() == '' || $("input[name=pwd]").val() == '') {
						$(document).dialog({
							infoText: 'Please enter account / password'
						});
						return false;
					}
					return true;
				}

				/*监听账号input*/
				$("input[name=tel]").bind("input propertychange", function() {
					if ($(this).val() !== '') {
						$('.icon-delete').show();
					} else {
						$('.icon-delete').hide();
					}
				});

				/*点击删除icon*/
				$(".icon-delete").on('click', function() {
					$("input[name=tel]").val('');
					$('.icon-delete').hide();
				})

				/*显示or隐藏密码*/
				$(".icon-eye").on('click', function() {
					var type = $("input[name=pwd]").attr("type");
					if (type == 'pwd') {
						$("input[name=pwd]").attr('type', 'text');
						return;
					}
					$("input[name=pwd]").attr('type', 'pwd');
				});

				/*点击登录*/
				$(".login").on('click', function() {
					if (check()) {
						var host = window.location.host;
						if (host.startsWith('localhost')) {
							form_submit('');
						} else {
							/*grecaptcha.ready(function() {
							grecaptcha.execute('6LdC99EZAAAAABfzI41Q48ZSd2Pe2aHA_vJ61go4', {action: 'submit'}).then(function(token) {
							// Add your logic to submit to your backend server here.
							form_submit(token);
							});
							});*/
							form_submit('');
						}
					}
				});

				sessionStorage.setItem('login_flag', '1');

				function form_submit(reCAPTCHA) {
					var loading = null;
					var tel = $("input[name=tel]").val();
					var pwd = $("input[name=pwd]").val();
					var code = $("input[name=code]").val();
					var jizhu = $("input[name=jizhu]").val();
					var _csrf_ = "csrf670b585856e0e";
					$.ajax({
						url: "/index/user/do_login.html",
						data: {
							tel: tel,
							pwd: pwd,
							jizhu: jizhu,
							code: code,
							'_csrf_': _csrf_,
							'reCAPTCHA': reCAPTCHA
						},
						type: 'POST',
						beforeSend: function(request) {
							request.setRequestHeader('User-Token-Csrf', _csrf_);
							loading = $(document).dialog({
								type: 'notice',
								infoIcon: '/static_new/img/loading.gif',
								infoText: 'loading...',
								autoClose: 0
							});
						},
						success: function(data) {
							loading.close();
							if (data.code == 0) {
								$(document).dialog({
									infoText: data.info
								});
								setTimeout(function() {
										location.href = "/index/index/home.html"
									},
									2000);
							} else {
								loading.close();
								if (data.info) {
									$(document).dialog({
										infoText: data.info
									});
								} else {
									$(document).dialog({
										infoText: "Network unstable, please try again at a place with better signal!",
										autoClose: 2000
									});
								}
							}
						},
						error: function(data) {
							loading.close();
						}
					});
				}

				var iit = intlTelInput(document.querySelector("#phone"), {
					excludeCountries: ["cn", "hk", "tw", "mo"],
					separateDialCode: true,
					utilsScript: "/statics/vender/intl-tel-input-master/js/utils.js",
					initialCountry: "auto",
					geoIpLookup: function(success, failure) {
						var c = $.cookie('use_country');
						success(c ? c : 'us');
					},
				});
			});
		</script></body></html>