Script Summary: Auto-login to Facebook using last submitted username/password when "Keep me logged in" is checked.
Version: 1.1.0
From time to time I have found that Facebook conveniently "forgets" that you are logged in when you are running other excellent scripts such as the "Mafia Wars" or "Vampire Wars" auto-players.
This script will log you into Facebook automatically as long as you have checked the "Keep me logged in" checkbox.
To disable the auto-login function simply uncheck the "Keep me logged in" checkbox before the counter drops to zero.
INSTALLATION
- Download & Install Mozilla Firefox.
- Install GreaseMonkey.
- Install this script.
- Go to the Facebook Login page.
- Check the "Keep me logged in" checkbox.
- Enter your username and password into the appropriate fields.
- Click the "Login" button.
Now, whenever you log out (or Facebook logs you out) this auto-login script will log you back in after a 5 second countdown. Try it now, click 'Logout' and see what happens!
FAQ
- Why this script, doesn't userscript.org already have auto-login scripts?
- Yes, there are other auto-login scripts available, however they all have various problems.
- You have to manually modify the script to add your own username or password. Facebook Auto-Login remembers your username/password from what you entered on the Login web page.
- The script only works on one login page. Facebook has several login pages, Facebook Auto-Login works on all the Login pages I could find (write me and let me know if I missed any).
- The script works too quickly and/or doesn't allow changing the username/password. Facebook Auto-Login has a visible countdown timer displayed in the "Login" button when it is active. You can cancel the login at any time by clearing the "Keep me logged in" checkbox.
- How do I disable Facebook Auto-Login?
- If you just want to turn off the auto-login feature so you can change your username or password, simply clear the "Keep me logged in" checkbox. If you want to disable the script, right-click the Greasemonkey icon (monkey head) in the bottom right side of your browser window and select Facebook Auto-Login if it is checked.
- Help, Facebook Auto-Login isn't working for me!
- There may be several reasons why the script isn't working. Please check the "Troubleshooting" section below.
- Does the Author use this script?
- Yes, I use this script myself and love it. It is simple to use, unobtrusive and works great. I never have to think about it and the countdown timer tells me it is working without a huge fuss. It also reminds me to clear the "Keep me logged in" checkbox for when I need to change my username (I have several Facebook accounts, one of the reasons I hated the "manual modification" scripts). Be sure to add your own review!
- I'm security conscious, could you tell me how Facebook Auto-Login stores my username and password?
- Absolutely! Your username and password are stored with the rest of Greasemonkey's variables and are visible on the about:config page. The only real concern I have with this script is that it does store the password in plain text. You can remove the username and password details by clearing the "Keep me logged in" checkbox and clicking the login button. Of course, if you were really security conscious you wouldn't be using Facebook anyway :-) .
- I love this script! How can I send you lots of $$$?
- While this script is under the GNU public license (which means you can take it and hack it to your heart's content) I'm always willing to take donations through PayPal. People who send me donations will be given priority on bugfixes and wishlist items.
- How do I contact the author if I have any other questions?
- I will field questions in the "Discussions" section for this script. If you have a question or comment you would rather keep private you can always send me email at ksitze@yahoo.com.
Troubleshooting
If you are having problems with Facebook Auto-Login please check the following guide before attempting to contact me!
- The Facebook Auto-Login script works on some Login pages but not others
- The problem is most likely that I have not come across the particular Login web page. Please submit an Issue record with the URL you find in the Browser. In the mean time if you are Greasemonkey savy you can always add the URL pattern to the script.
- The Facebook Auto-Login script isn't working at all!
- Please follow these directions.
- This script requires that Greasemonkey be installed and active. You should see a smiling monkey head in the right side of the status bar located at the bottom of the Firefox window. If the monkey head is dimmed and frowning then left-click on the monkey head to activate Greasemonkey. If you don't see a monkey head, select the Tools::Add-ons menuitem and check that Greasemonkey is installed. The author is using Greasemonkey version 0.8.20090920.2 as of this writing.
- Navigate to http://www.facebook.com/login.php.
- Right click the Greasemonkey icon and verify that Facebook Auto-Login is checked. If it is not checked, then click on it to enable it. If Facebook Auto-Login does not show up then you haven't installed it; click on 'Install' at the top of this web page and then click "install" in the dialog box that will pop-up.
- Fill in the Email and Password fields.
- Check the "Keep me logged in" checkbox.
- Click the "Login" button.
- If you have successfully logged in, click "Logout" in the upper right corner of the web page.
- You should see a Facebook Login web page with a number counting down from "5" in the right side of the Login button.



