Skip to content

Instantly share code, notes, and snippets.

@eito
Created May 30, 2014 21:43
Show Gist options
  • Save eito/43a5e05685353f555c0b to your computer and use it in GitHub Desktop.
Save eito/43a5e05685353f555c0b to your computer and use it in GitHub Desktop.
<html>
<head>
<title>BIG-IP logout page</title>
<link rel="stylesheet" type="text/css" HREF="/public/include/css/apm.css">
<script src="/public/include/js/common.js" language="javascript"></script>
<script src="/public/include/js/u_plugin.js" language="javascript"></script>
<script language="javascript">
function InsertActivexControl(clsid, params)
{
var container = document.getElementById("logoutActivexContainer");
if (navigator.appName == "Microsoft Internet Explorer") {
var paramsCode = "";
for (var item in params) {
paramsCode += "<param name='" + item + "' value='" + params[item] + "'>";
}
container.innerHTML =
"<center><object classId=CLSID:" + clsid + " border=0 width=1 height=1>" +
paramsCode + "</object></center>";
}
else {
var pluginHost = new UPluginHost("", container);
var control = {"clsid": clsid, "width": 1, "height": 1};
pluginHost.hostControl(control, params);
}
}
function OnLoad()
{
var display_session = get_cookie("LastMRH_Session");
if(null != display_session) {
document.getElementById("sessionDIV").innerHTML = '<BR>The session reference number: &nbsp;' + display_session + '<BR><BR>';
document.getElementById("sessionDIV").style.visibility = "visible";
}
try
{
if (("undefined" != typeof(window.external))
&& ("unknown" != typeof(window.external))
&& ("undefined" != typeof(window.external.WebLogonNotifyUser))
&& ("unknown" != typeof(window.external.WebLogonNotifyUser)))
{
window.external.WebLogonNotifyUser();
}
}
catch(e) {};
try
{
if (get_cookie("F5_PWS") == "1")
{
document.cookie = "F5_PWS=0; path=/; expires=Fri, 01-Jan-1970 00:00:01 GMT";
var pwsClassId = "7E73BE8F-FD87-44EC-8E22-023D5FF960FF";
InsertActivexControl(pwsClassId, {"command": "exit"} );
}
else if (get_cookie("F5_GPO") == "1")
{
document.cookie = "F5_GPO=0; path=/; expires=Fri, 01-Jan-1970 00:00:01 GMT";
var gpoClassId = "8F6AFB67-F834-4227-94A7-A51377E0678E";
InsertActivexControl(gpoClassId, {"GroupPolicyRollback": "TRUE"} );
}
}catch (e) {};
}
</script>
</head>
<body onload="OnLoad();">
<script>
try{
if(window.external && window.external.WebLogonOnAuthFailure) {
window.external.WebLogonOnAuthFailure();
}
}catch(e){};
try {
window.external.OnHostClose();
} catch(e) { }
</script>
<meta name="viewport" id="viewport" content="initial-scale=1.0" />
<script language="javascript">
//orientation toolbox
function setViewport(){
document.getElementById("viewport").setAttribute('content', Math.abs(window.orientation) == 90 ? 'width=device-height, initial-scale=1' : 'width=device-width, initial-scale=1.0' );
}
setViewport();
window.onorientationchange = function() {
setViewport();
}
</script>
<table id="page_header">
<tr >
<td id="header_leftcell"><img src='/public/images/my/flogo.png'/></td>
<td id="header_rightcell"></td>
</tr>
</table>
<noscript>
<div id="noscript_warning_red">JavaScript is not enabled. Please enable JavaScript in your browser or contact your system administrator for assistance.</div>
<div id="noscript_warning_newsession">To open a new session, please <A href="/">click here.</A></div>
</noscript>
<table id="main_table" class="logout_page">
<tr>
<td id="main_table_info_cell">
<table id="interaction_table">
<tr>
<td id="interaction_table_header">Your session could not be established.</td>
</tr>
<tr>
<td class="interaction_table_option_cell"><br><DIV ID="sessionDIV" style='visibility:hidden' align=left></DIV>
Access was denied by the access policy. This may be due to a failure to meet access policy requirements.<p><p>If you are an administrator, please go to Access Policy >> Reports : All Sessions page and look up the session reference number displayed above.<br> <br>
To open a new session, please <A href='/'>click here.</A> </td>
</tr>
<tr>
<td class="interaction_table_footer"></td>
</tr>
</table>
</td>
<td id="main_table_image_cell"><img src="/public/images/my/tr.gif"></td></tr>
</table>
<div id="page_footer"><div>This product is licensed from F5 Networks. © 1999-2011 F5 Networks. All rights reserved.[-]</div></div>
<DIV ID="logoutActivexContainer" class="inspectionHostDIVSmall"></DIV>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment