Easy Login v1
<html> <head> <title>Easy Login v1</title> <script> var jxeeno = { loginPopup:function(){ c=window.open("https://www.wikidot.com/default--flow/login__LoginPopupScreen?originSiteId=132928&openerUri=http://ktsangsb.wdfiles.com","login","width=700,height=640,resizable=yes,directories=no,status=yes,menubar=yes,location=yes,scrollbars=yes"); c.focus(); jxeeno.checkStatus(); }, checkStatus:function(){ loggedIn=false; try{ c.focus(); }catch(err){ alert("Logged in!");loggedIn=true; } if(!loggedIn){setTimeout(jxeeno.checkStatus,1000);} } }; window.onload = function(){ alert("Loaded!"); if(window.location.hash=="#loading"){ alert("Logged in!"); } } </script> </head> <body> <a href="#loading" onclick="jxeeno.loginPopup();">Login</a> </body> </html>
page revision: 6, last edited: 25 Dec 2012 02:16