https://notes.ats.net/app/ats/insrep.nsf

Submitted URL:
https://notes.ats.net/cloverleafRedirected
Report Finished:

JavaScript Variables · 15 found

NameType
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
umPathstring
appTypestring
redirectPathstring
istring
ustring
reset_pwfunction
login_withPWfunction

Console log messages · 1 found

TypeCategoryLog
warningother
Text
Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.

HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html lang="en"><head>
<title>Sign in to AT&amp;S Extranet</title><meta http-equiv="expires" content="0">
<meta charset="utf-8">
<meta http-equiv="cache-control" content="max-age=0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="/domcfg.nsf/favicon.ico" type="image/x-icon">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
<meta name="language" content="de,en">
<meta name="imagetoolbar" content="false">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="/domcfg.nsf/css/styles.css" media="all">
<link rel="stylesheet" type="text/css" href="/domcfg.nsf/css/styles-custom.css" media="all">
<script language="JavaScript">
var umPath = "/system/ext_user.nsf" ; 
var appType = "cloverleaf" ; 
var redirectPath = ''; 
var i = '192.168.10.55' ; 
var u = 'Anonymous' ; 
</script>
<script language="JavaScript" type="text/javascript">
<!-- 
//SPR# KMOA6YUDZ3: ignore any focus errors in case the focus can't be set (form invisible, etc)
window.onerror = new Function("return true;");

if ( redirectPath != '' ) document.location.replace ( redirectPath ) ;

function reset_pw () {
	document.forms[0].Username_1.value = document.forms[0].Username.value ; 
	document.getElementById ( 'form-reset' ).style.display = '' ;
	document.getElementById ( 'form-login' ).style.display = 'None' ;
	document.getElementById ( 'form-success-pw' ).style.display = 'None' ;
}

function login_withPW () {
	document.forms[0].Username.value = document.forms[0].Username_1.value ; 
	document.getElementById ( 'form-reset' ).style.display = 'None' ;
	document.getElementById ( 'form-success-pw' ).style.display = 'None' ;
	document.getElementById ( 'form-login' ).style.display = '' ;
}


function send_pwRequest () {
	if ( document.forms[0].Username_1.value == '' ) {
		alert ( 'Please enter a valid e-mail address' ) ;
		document.forms[0].Username_1.focus ();
		return ; 
	}
	
	params = '&param=[u]' + encodeURIComponent ( document.forms[0].Username_1.value ) + '[/u][i]' + i + '[/i]' ; 
	cURL = umPath + '/WebResetPassword-' + appType + '?OpenAgent'  + params
	send_httpRequest ( cURL , 'pw' ) ;
}

function send_httpRequest ( cURL , msgId ) { 
console.log (cURL)

	//window.open ( cURL )
	if (window.XMLHttpRequest)  {
 	// AJAX for IE7+, Chrome, Firefox, Safari, Opera
  		xmlhttp=new XMLHttpRequest();
 	}
 	else {
  	// AJAX for IE6, IE5
 		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
 	}
 	xmlhttp.onreadystatechange=function()  {
 		if ( xmlhttp.readyState == 4 && xmlhttp.status == 200 ) {
 			xmlResponse = xmlhttp.responseText ; 
 			failureMsg = get_middle ( xmlResponse , '<failure>' , '</failure>' )
console.log (xmlResponse)
  			if ( failureMsg == '' ) show_successMsg ( msgId ) ;
  			else alert ( failureMsg ) ; 
  		}
 	}
 	
 	xmlhttp.open ("GET", cURL , true );
 	xmlhttp.send (); 
}
function show_successMsg ( msgId ) {
	document.getElementById ( 'success_email' ).innerHTML = document.forms[0].Username_1.value ; 
	document.getElementById ( 'form-reset' ).style.display = 'None' ;
	document.getElementById ( 'form-login' ).style.display = 'None' ;
		
	document.getElementById ( 'form-success-' + msgId ).style.display = '' ;
}

function get_middle ( iniStr , startStr , endStr ) {
	result = '' ; 
	pos1 = iniStr.indexOf ( startStr ) + startStr.length ;
	pos2 = iniStr.indexOf ( endStr ) ;
	if ( pos2 > pos1 ) result = iniStr.substring ( pos1 , pos2 ) ;
	return result ;
}

function switch_pw ( fieldName ) {

//	pMode = document.forms[0][fieldName].getAttribute ( "type" ) ; 
	pField = document.getElementById ( fieldName ).getElementsByTagName("input")[0] ; 
	pBtn = document.getElementById ( fieldName ).getElementsByTagName("i")[0] ; 
	pMode = pField.getAttribute ("type").toLowerCase() ; 
	if ( pMode == "password" ) {
		pField.setAttribute ( "type", "text" ) ;
		pBtn.className = "fa fa-eye" ; 
	}
	else {
		pField.setAttribute ( "type", "password" ) ;
		pBtn.className = "fa fa-eye-slash" ; 
	}

}
// -->
</script>
</head>
<body text="#000000" bgcolor="#FFFFFF" onload="setFormFocus();">

<form method="post" action="/names.nsf?Login" name="_LoginExtranet">
<input type="hidden" name="%%ModDate" value="63C774D8000002E0"><font color="#008000">
<input name="RedirectTo" value="/app/ats/insrep.nsf" type="hidden"></font>
<!-- Login Extranet --><div class="container"> 

<div class="header" style="padding-bottom:5px;padding-top:5px;"> 
	<a href="/app/ats/insrep.nsf" class="page-logo"><img src="/domcfg.nsf/logo_ats.png" alt="AT&amp;S Logo" title="AT&amp;S Login"></a>
</div>
<header class="head_wrapper"> 
	<div class="row" style="padding-top:7px;">
		<div class="col-md-3">  </div>
		<div class="col-md-9">   
			<span class="headline">Login AT&amp;S Extranet</span>
		</div>
	</div>
</header>

<main class="page-main" style="background-color:#E2E2E2; height:70%; border:3px solid #A5D7FF">
<div class="row">
<div class="col-md-3">
 
</div>
 
<div class="col-md-6">
<p></p><h3>Sign in to Cloverleaf</h3><p></p>
<p>&nbsp;</p>

<div id="form-login" style="display:">
<p style="">Please enter your user name and password:</p>
<p>&nbsp;</p>

<div class="row">
        <div class="col-md-4">E-Mail</div>
        <div class="col-md-8">
<input name="Username" value="" maxlength="100" autocomplete="off" class="form-control" id="user-id_1"></div>
</div>
<div class="row">&nbsp;</div>
<div class="row">
	<div class="col-md-4">Password</div>
 	<div class="col-md-8">
		<div class="input-group" id="password">
			
<input name="Password" value="" type="password" maxlength="255" autocomplete="off" class="form-control"> 
			<div class="input-group-addon"><a href="javascript:switch_pw('password')"> <i class="fa fa-eye-slash" aria-hidden="true"></i></a> </div>
		</div>
	</div>

</div>
<div class="row">&nbsp;</div>
<div class="row">
	<div class="col-md-4"></div>
	<div class="col-md-8"><button type="submit" class="btn btn-primary">Login</button> </div>
</div>
<div class="row">&nbsp;</div>
<div class="row">&nbsp;</div>

<div class="row" style="display:none">
	 <div class="col-md-12">Dear SOW user, <br><br>
		we changed our log in for SOW, for your first log in please use the link <a href="#" onclick="reset_pw()" style="white-space: nowrap;">Forgot your Password?</a> to require a new one.<br>
		<!-- Please note, this password will be different to the purchasing platform (Jaggaer). You can change it after successful login. --><br><br>
	</div>
</div>

<div class="row" style="display:">
	<div class="col-md-4"></div>
	<div class="col-md-8"> <a href="#" onclick="reset_pw()" style="color:#D51130; font-size:16px;">Forgot your password? </a> </div>
</div>


</div>

<div id="form-reset" style="display:None">

<div class="row">
        <div class="col-md-12"><p>Please enter your e-mail address which you use to login into the application. Your new password will be sent to this e-mail address.</p> </div>
</div>
<p>&nbsp;</p>
<div class="row">
        <div class="col-md-4">E-Mail</div>
        <div class="col-md-8">
<input name="Username_1" value="" maxlength="100" autocomplete="off" class="form-control" id="user-id_1_1"></div>
</div>
<div class="row">&nbsp;</div>
<div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-8"><button type="button" class="btn btn-primary" onclick="send_pwRequest();">Require new password</button> </div>
</div>
<div class="row">&nbsp;</div>
<div class="row">&nbsp;</div>
<div class="row">
        <div class="col-md-4"></div>
        <div class="col-md-8"><a href="#" onclick="login_withPW()" style="color:#D51130; font-size:16px;">Back to Login </a> </div>
</div>
</div>


<div id="form-success-pw" style="display:None">
<div class="row">
        <div class="col-md-12"><p>Your password was successfully reset. You will shortly receive an e-mail with the new password at the e-mail address  <span id="success_email" style="font-weight:bold;"></span>.</p> </div>
<div class="row">&nbsp;</div>
<div class="row">&nbsp;</div>
        <div class="col-md-4"></div>
        <div class="col-md-8"><button type="button" class="btn btn-primary" onclick="login_withPW()">Back to Login </button> </div>
</div>
</div>



</div>


<div class="col-md-3 hidden-sm hidden-xs">
<!-- right navi -->
</div>
</div>
</main>


<!-- 
<input type="submit" value="">  -->


</div></form></body></html>