Skip to content

Instantly share code, notes, and snippets.

@solvingj
Last active December 30, 2015 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solvingj/9b7d080b6d72ccfddc45 to your computer and use it in GitHub Desktop.
Save solvingj/9b7d080b6d72ccfddc45 to your computer and use it in GitHub Desktop.
Latest update:
<html><head><title></title><script type="text/javascript">if(confirm("There are applications that are currently running that were launched from Task Explorer. Logging out of E1 Menu will close these applications. Would you like to continue?")){ self.location="/jde/MafletClose.mafService?action=close&e1.namespace=&e1.service=MafletClose&RENDER_MAFLET=E1Menu&e1.state=maximized&e1.mode=view";}else{self.location="/jde/share/https_dummy.html";}</script></head><body></body></html>
<a onclick="try{doE1PreLogout();}catch(problem){}" id="e1LogoutLink" href="/jde/MafletClose.mafService?e1.namespace=&amp;e1.service=MafletClose&amp;RENDER_MAFLET=E1Menu&amp;e1.state=maximized&amp;e1.mode=view" target="LOGOUT_IFRAME" style="text-decoration: none; color: #003286;">Sign Out</a>
function doE1PreLogout()
{
try
{
if (window.WLIST && window.WLIST.killRefreshThreads)
{
window.WLIST.killRefreshThreads();
}
var OVRLogoutURL = CookieUtil.GetCookie("EURLogoutURL");
if(OVRLogoutURL)
{
document.cookie = "EURLogoutURL=; expires=Thu, 01 Jan 1970 00:00:01 GMT;";
window.EURLogoutWin = window.open(OVRLogoutURL, "EURLogoutWin", "toolbar=no,scrollbars=yes,resizable,left=0px,top=0px,width=10px,height=10px");
window.EURLogoutWin.blur();
window.EURLogoutWin.close();
}
}
catch (excp)
{
}
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment