« WorldClockr, Amazing JavaScript World Clock | Main | Mootools for Dummies »

JavaScript WebSite Login Checker

This is a pretty original technique to check if you are loggued-in in known websites such Google, Gmail, MySpace, Blogger, MSN, ... The method is pretty original and works in many websites, so it's something you should know and be aware also. How does it work, very simple ! The JavaScript use a remote page from the service, simply in HTML, and load it as "Javascript", then check the error message returned for executing this HTML page. There should be at least one working page to test on it, I tryed the demo page and it's working fine with Flickr for example, error message might be changed for others. Adding new site by setting the error that should be detected for loggued as well as not loggued-in user and error line. Tested for Firefox 1.5 and 2 only.

Bookmark this article at these sites
Comments
1

Hmm... It's odd, but it doesn't seem to recognise that I'm logged into GMail, Hotmail, Flickr or MySpace.

I was however, pleasantly surprised to see that it saw Yahoo Mail beta on my FF 2.0 XP Pro machine.

Post a comment





(Email will remain hidden)





Please enter the security code you see here




Related entries
Email to a friend
Email this article to:


Your email address:


Message (optional):