Tag Archives: bookmarklet

Quickly Hide Trending Tags and Topics from Facebook

Here is a bookmarklet you can use to quickly hide the “Trending” [Tags and Topics] panel from your Facebook wall…

javascript:document.getElementById('pagelet_trending_tags_and_topics').style.display='none';void(0);

That should work in nearly all modern browsers since it uses basic JavaScript that has worked for quite some time to apply element styles.

You may also be able to right-click the following link and save it as a bookmark 😉

FB: Hide Trending Tags/Topics

Bookmarklet: Submit a login form using javascript within a bookmark

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