Blog Archives

Helvetimail Gives a Minimal Facelift to Gmail [Gmail]

Firefox/Chrome/Opera/Safari/IE: Gmail’s already got several great themes, but if you’ve never been satisfied with Gmail’s clutter, the Helvetimail user script transforms Gmail into a Helvetica-based, stripped-down interface.

(Click the image above for a closer look.)

Helvetimail is a logical—if obvious—step in the latest craze of applying minimal designs using the Helvetica font to popular web applications (see previously mentioned Helvetical, Helvetireader, and Helvetwitter). To use the script, you’ll need to enable the Minimalist theme in Gmail’s themes settings. Then, depending on what browser you’re using, you’ll have to install the user script. (Firefox users, if you’ve installed Greasemonkey, just click the user script link on the Helvetimail page to install. For the rest of you, the script’s author has instructions for various browsers.)

Helvetimail is probably the least attractive of the Helveti-bunch of user scripts we’ve seen (I love the look of Helvetical), but if you’re a big fan of the user-contributed, minimal Helvetica designs, it’s worth a look.

Helvetimail [Josef Richter]






YouTube Auto Buffer Makes the Popular Video Site a Lot Better [Downloads]

Firefox with Greasemonkey: The YouTube Auto Buffer Greasemonkey script tweaks the popular video sharing site to fix some of its most common annoyances. Specifically, it stops videos from automatically playing, turns on HD/HQ playback for all videos, and hides in-video advertisements.

All three of the tweaks YouTube Auto Buffer makes can be toggled, so if you’d really like to get rid of in-video ads but don’t want to always watch videos in HD or prefer that videos play automatically, you can just disable the two unwanted features. Or at least they can be toggled in theory. I had trouble getting my preferences to stick, so your mileage may vary.

Either way, it’s a nice little script that aims to fix some users’ common YouTube annoyances. For some other YouTube-specific tweaks, check out our very own Better YouTube Firefox extension. (With any luck, maybe we can convince Gina to incorporate some of the YouTube Auto Buffer features into said add-on.)

YouTube Auto Buffer is a free download, works with Firefox and the Greasemonkey extension.






Helvetical Turns Google Calendar Into a Thing of Beauty [Downloads]

Firefox/Chrome/Opera/IE: I've never found Google Calendar to be particularly unattractive—until I compared it to the sleek, clean look of Google Calendar with the Helvetical user script, that is.

Helvetical has a very similar design aesthetic to previously mentioned Helvetireader, a Helvetica-themed Google Reader customization. It’s easy on the eyes and drops out a lot of the clutter of Google Calendar while keeping all of its functionality in tact.

Helvetical works with any browser that supports custom user scripts, which—in theory, at least—includes Firefox with Greasemonkey, Chrome with user scripts enabled, Opera, and IE with previously mentioned IE7Pro. (We’ve only tested it in Firefox.) If you give it a go, let’s hear how you like it in the comments.

Helvetical [I am Ad Taylor]






Import Facebook Phone Numbers into Your Google Contacts [Contacts]

Android users, iPhone users (anyone using Google Sync, in fact), and Google Contacts users in general with Facebook friends who list their phone number in their profiles will love this:

Brad Fitzpatrick offers a Greasemonkey script that exports those phone numbers to AddressBookr and offers to add/merge them into your Google Contacts. Even though this was posted last November, I just gave it a test run and it worked like a charm. Thanks, Nick!

Smarterware is Lifehacker editor emeritus Gina Trapani’s new home away from ‘hacker. To get all of the latest from Smarterware, be sure to subscribe to the Smarterware RSS feed. For more, check out Gina’s weekly Smarterware feature here on Lifehacker.






Get Firefox’s Ctrl+K Shortcut in Internet Explorer [Autohotkey]

Most modern browsers implement the Ctrl+K shortcut key for quickly focusing the built-in browser search box—and now you can use the same shortcut in Internet Explorer as well.

After reading about how to implement the Ctrl+L shortcut key in IE, reader Mike took it on himself to improve that script and add a number of other shortcut keys, including Ctrl+K to focus the search box, and Ctrl+Shift+Enter to automatically append “.org” to the end of anything typed into the address bar.

To use his script for yourself, create a new AutoHotkey script or add the following to your existing script:

#IfWinActive - Windows Internet Explorer ahk_class IEFrame
^k::Send ^e
^l::Send !d
^+Enter::
AutoTrim Off ; Retain any leading and trailing whitespace on the clipboard.
ClipboardOld = %ClipboardAll%
Clipboard = ; Must start off blank for detection to work.
Send {Ctrl Down}ac{Ctrl up}
ClipWait 1
if ErrorLevel ; ClipWait timed out.
   return
ClipboardNew = %Clipboard%
StringReplace, ClipboardNew, ClipboardNew, .com, .org
IfNotInString, ClipboardNew, .org
   ClipboardNew := ClipboardNew . ".org"
Send %ClipboardNew%{Enter}
Clipboard = %ClipboardOld%
return

This script listens for the Firefox-style shortcut keys, and then sends the Internet Explorer specific keys to the window instead, so you can switch between Firefox and IE without constantly hitting the wrong keys by mistake. Great job, Mike!

For more Windows shortcut goodness, check out how to make Win+E open the folder of your choice, learn how to use Caps Lock for hand-friendly navigation, and see how Taskbar Overlord tweaks the Windows 7 taskbar. Brand new to AutoHotKey and its time-saving ways? Peek at our beginner’s guide to learn how to add this script, or write your own.





Top 10 Greasemonkey User Scripts, 2009 Edition [Lifehacker Top 10]

Two years ago, we compiled our 10 favorite Greasemonkey scripts, the site-fixing wonders you can load into Firefox’s Greasemonkey extension for a better browsing experience. We’ve updated our picks, and there’s a lot that’s new.

That’s not to say that the original 10 aren't worthy of your consideration. It's just that we've found a lot of cool new scripts in the following 2+ years, and some of the fixes and features those original scripts addressed have been implemented in Firefox 3, or changed by the sites themselves. This list is a bit Google-heavy, but that's to be expected—the search giant crafts all its web sites in the same kind of JavaScript that Greasemonkey works with, so geeks have the power to make Gmail, Google search, and other webapps much more useful and powerful.

All of these scripts run best on Firefox with Greasemonkey installed. (If you’re using Firefox and haven’t already installed Greasemonkey, you’ll need to do that before trying out the scripts below.) Some of them, however, can be loaded into other browsers, like Google Chrome’s dev channel version, Safari with Greasekit, natively with Opera’s user JavaScript tools, or apps like Trixie for Internet Explorer (which we haven’t tested with IE 8, so apologies for any confusion).

On with the user scripts!

10. Google Inline MP3 Player

Self-promotion alert! Adam wrote this one, but it’s not like it’s a big money-maker for him (there’s no money involved at all). All the Google Inline MP3 Player does is add a [Play] link next to any linked MP3 file you come across on the web, making it both easy to find them and super-easy to play them without having to wait for your browser plug-in, VLC, Windows Media Player, or whatever you’ve got on your system to load. It quickly inserts Google’s/Gmail’s player onto the page with the MP3 loaded for streaming, and you can hide the player again by clicking, well, [Hide Player]. Nice, simple, and works.

9. A Bit Better RTM

There are, to be sure, a whole lot of Greasemonkey scripts that tweak the AJAX-y interface of one of our favorite to-do managers, Remember the Milk. This one, though, is the most elegant and useful if you’re an RTM fan. It moves your lists to the left, where they’re more visible and accessible, and lets you hide lists you don’t normally examine (like, say, someday/maybe or shopping lists). It also adds more keyboard shortcuts that make RTM easy to get around, which is kind of a guaranteed fan-maker ’round these parts. All in all, a very helpful script.

8. Twitter Search Results

Apart from everything else you’ve heard about it, Twitter is a powerful, real-time search engine. With the Twitter Search Results user script installed, the top of your Google search results will also include the same results for that term you’d get from search.twitter.com, so you can see what’s being discussed before you take a look at what’s already been written.

7. Google Reader Absolutely Compact

If you’re a Google Reader user, chances are you value speed and reading space over fancy light-blue menus and drop-down widgets. This Greasemonkey script/Stylish style, crafted by VIP Lifehacker reader Dustin Luck, isn’t for everyone, but it does compact as much information onto the Reader page as is seemingly possible (before jumping over to terminal-style, text-only reading). Other Greasemonkey coders have mined a similar vein, releasing the eye-catching Helvetireader and the Google Reader for Wider Screens tweaks.

6. Google Docs Download

For whatever reason, you can’t just select a bunch of Google Docs files and download them in your chosen format. That makes a theoretically convenient web-based work space much less convenient. Google Docs Download steps into the void, adding a right-hand menu that, after searching out and/or selecting the files you need, offers a handy, Down-Them-All-friendly download link for all the formats Google Docs supports.

5. TinyURL Decoder

They make long URLs email friendly and save Twitter users from overflowing their 140-character limit, but shortened links from services like TinyURL, bit.ly, and many, many others can be a pain to click, wait, and then be disappointed by. This script lets you see what’s behind tinyurl.com/abc123, bit.ly/lifehacker, and all the others (those were, by the way, random typing, not links we created). We’ve covered Firefox extensions and bookmarklets that do the same, but they require clicks or mouse-overs to activate; TinyURL Decoder clarifies the entire web for you automatically.

4. Gmail Unread Message Count in Favicon

A great little script that works in a tiny little space. Gmail Unread Message Count in Favicon does, well, what you might presume it does, but does it really well: It adds a number to the standard Gmail Favicon that gets brighter as more unread messages pile up in Gmail. It maxes out at “99+”, turns orange when you have a chat message, and changes to blue for the Google Apps users out there. Gmail offers a title bar tweak that puts just the number of unread messages in the front of your Gmail tab/window, but this little icon is far more intuitive and powerful.

3. Invisibility Cloak

Self-Promotion Alert Pt. 2: We made this one as well. It doesn’t alter how web pages display and operate; instead it alters how you operate your web pages. If you’re prone to more-frequent-than-necessary trips over to Twitter, Facebook, Fark, or any other time-sucking sites, just load them into Invisibility Cloak, as Gina describes in her write-up on banning time-wasting web sites, and you'll never see them before you hit that magic oh-well-work's-almost-over-anyways time—3pm on weekdays, by default, but you can set any time that applies to your work flow.

2. Textarea Resize

Some web sites give you just one line of space to type out a lot of information, like an address, article comment, or other mini-post. Textarea Resize pushes on the downward edge of any typing area and makes it one line bigger whenever you hit Ctrl+Enter, and knocks it back down with a Ctrl+Shift+Enter. Take that, web sign-up forms! Want more control over your text area sizes? Try this grab-and pull bookmarklet.

1. Folders4Gmail

Move from traditional email clients to Gmail’s web interface, and the first thing you’ll likely ask is, “Where are the folders?” Folders4Gmail eases the transition and makes sense of Gmail’s clever, unique, but sometimes hard-to-grok labels. Create a folder called, for example, “Sports.” Next, create a folder named “SportsSoccer.” “Soccer” shows up nested under “Sports,” and you can get as multi-level as you’d like, assuming you’ve got this neat little script installed to show them all as drop-down, folder-like containers.


So ends another compilation of 10 tweaks we hope you’ll find useful in your day-to-day browsing. By all means, though, tell us the scripts you can’t believe we left off, and the better versions of the scripts we didn’t, in the comments.



Disable the New Tab Page in Google Chrome [Google Chrome]

Windows only: Google Chrome's new tab page gives you quick access to your most visited web pages—but if that's a privacy concern you can now disable it with a user script.

The Google Operating System blog highlights a very simple user script that hides all the content on the new tab page—to use it, you'll need to start by following our guide to enabling user scripts in Chrome, and then save the script into the new User Scripts directory. Once the setup is complete, you can simply open a new tab to see the change.

For more user scripting goodness, check out Better Gmail for Google Chrome.

Disable Google Chrome’s New Tab Page [Google Operating System]





Better Gmail for Google Chrome [Lifehacker Code]

Windows only: Better Gmail for Google Chrome is a compilation of user scripts designed to enhance your Gmail experience—and to make it easy, we've tested and bundled them together in one easy download.

Better Gmail for Chrome is inspired by the well-known and grown-up Better Gmail extension for Firefox. Like the original, we've packaged up a bunch of scripts that we've either tested successfully or modified to make them work correctly—since Chrome doesn't have full Greasemonkey support we had to make a few modifications to some of them.

Better Gmail for Chrome

Updated: 03/23/2009
License: All user scripts are copyright their original authors and maintain their original license as specified by their original author.
Installation: Installing Better Gmail for Chrome requires first using our guide to enabling user scripts in Chrome. Once you have completed those steps, you can download the Better Gmail for Chrome zip file.

Open up the zip file containing the user scripts, and copy the ones you want to enable into the appropriate User Scripts folder for your version of Windows:

Windows XP: %userprofile%Local SettingsApplication DataGoogleChromeUser DataDefault
Windows Vista: %userprofile%AppDataLocalGoogleChromeUser DataDefault


Refresh Gmail, and you are done. If you are having issues getting it to work, make sure that you follow the steps to enable user scripts.

Features:

Add Row Highlights-Highlight message rows as you roll over them:

Attachment icons—Adds attachment filetype icons:

Show Message Details-Display the full details of the top messages in a conversation:

Folders4Gmail-Lists labels in a folder-like hierarchy:

Hide Spam Count-Hides Gmail’s Spam message count:
3sidebar-hidespamcount.png

Credits: Better Gmail is a compilation of user scripts written by several Greasemonkey scripters. The full list of Better Gmail user scripts and their authors is as follows:

Release History:





Todo.txt CLI Manages Your Tasks from the Command Line [Lifehacker Code]

Dozens of fancy point-and-click task managers promise to organize your to-do list, but so often power users find that nothing outdoes that trusty old classic: the todo.txt file.

If you’re a command line lover who skips checkboxes and drop-downs to dash off notes and tasks in a regular old text file, or you’re intrigued by the idea and wish your todo.txt chops were stronger, read on.

I’ve been a heavy todo.txt user for years. Back in 2006, I started developing a command line interface (CLI) to my todo.txt which lets me add to and check off items without launching a full-on text editor. Three years of daily (or at least weekly) use later, version 2.0 of the script is now available. It offers basic to advanced commands for managing your todo.txt and other text files you might use to capture information, like ideas.txt or maybelater.txt. Let’s take a look.

Who This Is Meant For: If you’re comfortable working in the terminal, changing permissions on a file, and working with Unix-style text commands, then the todo.txt CLI is for you. If you don't spend a good amount of time at the command line—either in the Terminal on your Mac, or using a Unix command line or emulator on Windows—you're going to think this whole thing is arcane and confusing. (In that case, we highly recommend getting organized with Remember the Milk. If you want to boost your command line chops on Windows, check out our introduction to Cygwin.)

You’ve already got CLI religion? Good. Let’s get started on some hot todo.txt command line action.

Quick Start Guide:

  1. Download the Todo.txt CLI 2.0 zip file and extract it. You’ll get two files. Place both todo.cfg (the configuration file) and todo.sh in your home directory.
  2. Open the todo.cfg file with your text editor of choice. Set the TODO_DIR variable to the right path for your setup. For example, on my Windows PC, this line reads:
    TODO_DIR="C:/Documents and Settings/gina/My Documents"
    On my Mac, this line reads:
    TODO_DIR="/Users/gina/Documents/todo"
  3. Make the todo.sh file executable by using the command: chmod +x todo.sh
  4. (OPTIONAL) Alias the letter t to todo.sh to save keystrokes while you use it. In your ~/.bash_profile file, add the line:
    alias t='~/todo.sh'

Now you’re ready to put this script to work!

Basic Usage

Before we start, keep in mind that this CLI isn’t trying to reinvent the text editor. If you want to do big bulk edits to a lot of items in your todo.txt, just open it up in your favorite text editor to do so. But for quick, one-hit access to add items, mark items as complete, or slice and dice your list by project or priority, todo.sh is for you.

For example, to add a line to your todo.txt file, at the command line, type:

$ t add "Pick up milk"

Add a few more items for good measure:

$ t add "Pick up the dry cleaning"
$ t add "Clean out the inbox"

Now, to see all the items on your list, use:

$ t ls

The output will look like this:

$ t ls
03 Clean out the inbox
01 Pick up milk
02 Pick up the dry cleaning
--
TODO: 3 tasks in C:/Documents and Settings/gina/My Documents/todo.txt.

Now, you can reference each item by its ID—which is actually the line number it lives at in the todo.txt file. For instance, to prioritize task 1 to the highest level—priority A—use this command:

$ t pri 1 A

To mark task 2 as complete, use todo.sh‘s do action:

$ t do 2

Since a video is worth a million words, see this in action in this screencast demonstration of a to-do list you might find for a crew member on Battlestar Galactica. (Go full-screen to see what’s being typed more clearly.)

If this video clip isn’t clear enough for you, try this alternate high-res location.

Advanced Usage

Once you’ve got the basics of working with your todo.txt down, it’s time to dive into more advanced tricks. Here are a few more things this CLI can do.

  • Replace or delete a task; append or prepend text to a line. When you want to re-word a task or add a context, project, or additional info to it, use the replace, append, and prepend actions to do so. For example, add “ready at 3PM” to your “Pick up the dry cleaning task” with this command:

    $ t append 2 "ready at 3PM"

  • See all the contexts and projects in your list. If you’re using the + and @ sign format to signify projects and contexts, use the listcon and listproj (or lsc and lsprj for short) commands to see a short list of all your contexts or projects in your todo.txt.
  • Move items from your todo.txt to another text file. Say you've decided that the "Learn how to speak French" task is actually something you're not quite committed to doing—yet. Use todo.sh‘s mv command to zip that task from todo.txt to another text file in your todo directory. For example, this command will move it into a maybelater.txt file:

    $ t move 10 maybelater.txt

  • List the contents of another text file. Since I got so used to working with todo.txt this way, there’s now support for working with other text files. For example, you can list the contents of your maybelater.txt file using the command:

    $ t listfile maybelater.txt

    Likewise, you can add a line to another file using:

    $ t addto ideas.txt "My bright idea"

    You can also search the contents of another text file by adding a keyword after the list command, ala:

    $ t lf ideas.txt apple

See all the options available to you using the todo.sh -h command. The full usage manual is available here.

Further Info and Related Projects

The todo.txt CLI has lived over at its official homepage, Todotxt.com, for years now, and although I haven’t posted an update there since 2006, an active mailing list of over 500 members is still going strong. Since this project is open source, happily several other todo.txt projects have sprung up over the years, including Task, which offers even more features than my little script does.

If you’re a programmer who wants to add to this script or a user with questions or ideas about the todo.txt CLI, either post them here or consider joining the mailing list for support. For a full history of this script's development—including its three-year hiatus—see its full changelog.

Think using a command line interface to a text file is insane or fantastic (or both)? Tried out todo.txt? Tell us what you think in the comments.

Gina Trapani, Lifehacker’s founding editor, is still married to her todo.txt file even after a sordid affair with Remember the Milk. Her weekly feature, Smarterware, appears every Wednesday on Lifehacker. Subscribe to the Smarterware tag feed to get new installments in your newsreader.






AdSweep Blocks Ads in Google Chrome and Opera [Downloads]

AdSweep is a user script that blocks a good number of ads on some major websites, and works from a simple file you plug into your Opera or Google Chrome files.

The instructions for installing the single AdSweep.user.js file in your Opera or Chrome browser are laid out step-by-step on AdSweep’s main page. Opera users have a mostly graphical process, while Chrome users will have to check their version and then make a few tweaks to enable user scripts. The site notes that AdSweep will work for Firefox as well, along with Safari and Internet Explorer with some third-party add-ons, but each of those platforms has their own ad-blocking solutions, like Firefox’s uber-popular Adblock Plus. Chrome users can also use a proxy solution like the previously detailed Privoxy to get annoying ads out of their way.

We have to say it—the site you're reading right now is, of course, supported by advertising, and we'd ask that you keep them displayed if you dig what we do here. But AdSweep is pretty easily tweaked with, since it's just one file, and can be used for blocking of extremely annoying ads. It's a free download, works where Opera and Chrome can install. Thanks, Saša!






WP Like Button Plugin by Free WordPress Templates