How to overlay images by using Greasemonkey

posted Oct 26th 2009 10:39am by Mike Szczys
filed under: HackIt

HaD_frame

Today we’re going to take a look at writing scripts for the Greasemonkey add-on for Firefox. This add-on allows us to use JavaScript to make changes to the way webpages are displayed on our browser. These changes can only be seen by a copy of Firefox that is running a particular script. As an example, we’re going to write a script that adds a border to the banner image of each article on Hack a Day by overlaying the image you see above. Find out how it’s done after the break. Read the rest of this entry »

Trim the fat from Gmail

posted Sep 9th 2009 10:00am by Chris Gilmer
filed under: google hacks, lifehacks

minimal gmail

Google’s Gmail is a highly viable option for email. With numerous features and options like widgets, a task list, labels, and chat, Gmail has a slight tendency to get overwhelming and might force us to loose focus on what it is really all about: email.

What can make Gmail better? For starters, how about no ads; they are cluttering and distracting. What about getting rid of the widgets and unnecessary features like labels and chat that we think are supposed to make us more productive but really only make us lose our focus to send, read and reply to email? Nobody knows Zen better than [Leo] at Zen Habits. We weren’t surprised that he and his friends (with Firefox and Greasemonkey) have found a way to trim all the unnecessary elements from Gmail and make it into an email powerhouse that focuses on a basic productive email client. The minimalist inbox for Gmail consists of Greasemonkey scripts for:

  • Removing gadgets
  • Hiding labels, chat and footer
  • Removing ads
  • Removing stars
  • Getting rid of the Gmail logo and searchbar
  • Removing menu navigation bar
  • Cleaning up and removing unnecessary buttons

To get started focusing on email, and only email, head on over to ZenHabits for a list of associated scripts and what exactly they can do to help you on your road to the minimalist Gmail.




MegaUpload captcha cracking in JavaScript

posted Jan 23rd 2009 6:06pm by Eliot Phillips
filed under: downloads hacks, misc hacks

megaupload-the-leading-online-storage-and-file-delivery-service

This was certainly the last thing we expected to see today. [ShaunF] has created a Greasemonkey script to bypass the captcha on filehosting site Megaupload. It uses a neural network in JavaScript to do all of the OCR work. It will auto submit and start downloading too. It’s quite a clever hack and is certainly helped by the simple 3 character captcha the site employs. Attempting to do the same thing with ReCAPTCHA has proven much more difficult.

UPDATE: [John Resig] explained of how it works.

[via Waxy]

Best Firefox 3 extensions

posted Aug 23rd 2008 5:30pm by Eliot Phillips
filed under: downloads hacks, firefox hacks, misc hacks


We generally try to limit the number of extensions we install for security, performance, and because we use a lot of different systems. That’s not to say there aren’t a lot of interesting addons out there and Mozilla has recently announced the winners of their Extend Firefox 3 Contest. Lifehacker has a full rundown of each of the winners. Nothing really stands out in our eyes (although we might try Last.fm’s toolbar).

The three extensions we always end up installing are Firebug, Greasemonkey, and Flashblock. What are yours?

Hack a Day serves up fresh hacks each day, every day from around the web and a special How-To hack each week.

Send us your hacks