If you’re like me, you have many bookmarks to administration areas that require authentication. For you, this script is a priceless time-saver.
Let’s say your login page has a form similar to the following…
<form action="/login.php" method="post"> <label>Username: <input type="text" name="user"></label> <label>Password: <input type="password" name="pass"></label> <input type="submit" value="Log In"> </form>
Some logins simply cannot be stored in the browser’s password system. So, to save you the extra effort of manually logging in on each visit to such pages, create a bookmark that automatically logs you into the system.
Here’s the code to submit that form using a bookmarklet… Continue reading