Thursday, February 12, 2009

Facebook Auto-Login

·



How to use it?

Script Summary:
Automatically logs into Facebook if Firefox remembers your password.



// ==UserScript==
// @name Facebook Auto-Login
// @description Automatically logins in to Facebook if Firefox remembers your password.
// @include http://www.facebook.com/
// @include http://facebook.com/

// ==/UserScript==
// Configured for Facebook by Brian Heberling

var timer = 1000;


var timo, maySubmit = true;


var form = document.forms.namedItem('loginform');
var uid = form.elements.namedItem('email');
var pw = form.elements.namedItem('pass');

function doSignIn() {
if(uid.value.length && pw.value.length) {
form.submit();
} else {
window.setTimeout(doSignIn, timer);
}
}

doSignIn();

0 comments:

Post a Comment

Related Articles


Related Article Widget by Hoctro

About Me


嗨,我是花,居住在印度兴奋的Windows,Linux中国的外籍人士和所有高科技的东西

Hi, I am Hua, a chinese expat residing in India excited about windows, linux and all things tech

Receive updates for free

Enter your email address:

Delivered by FeedBurner

Mobile Version

Bookmark

Bookmark and Share

Blog Archive