Showing posts with label Greasemonkey. Show all posts
Showing posts with label Greasemonkey. Show all posts

Force YouTube to Use the HTML5 Player

Donal Trung 8:14 AM Add Comment
YouTube's HTML5 player is great, but it's not enabled for all the videos. Even if you go to youtube.com/html5 and join the HTML5 trial, you'll find a lot of videos that use the Flash player. "Some videos with ads are not yet supported (they will play in the Flash player)," mentions the site.

There's a simple Greasemonkey script that forces YouTube to use the HTML5 player for almost all the videos you watch at youtube.com. You need to install Greasemonkey if you use Firefox or Tampermonkey if you use Chrome, then click the "Install" button here.

[Update (Octomber 3rd, 2013): For Chrome, use the old version from Sept 23.]

The script works better in Firefox. If you install the script in Chrome, it will disable the new Ajax interface, but everything else seems to work well.


Here's a video you can use to test the script. Please note that the script doesn't work for embedded videos.

Google Music Lyrics

Donal Trung 11:45 AM Add Comment
Google Music Lyrics is a Greasemonkey script that adds a lyrics panel to Google Music. It only works in Firefox and there's a single lyrics provider: SongLyrics.com.


The lyrics are cached so that they're displayed instantly the next time you play the same song. You can also edit the lyrics and the changes are saved using HTML5 local storage. To hide the panel, click the title.

Chris Hendry, who developed the script, plans to add other lyrics providers, allow users to import and export lyrics and to make the script work in Google Chrome.

Highlight Google Search Keywords

Donal Trung 2:59 PM Add Comment
If you like Google Toolbar's highlighter, but you don't want to install the add-on or the toolbar doesn't support your browser, try the Word Highlight Greasemonkey script. After performing a Google search, the script highlights the keywords and lets you quickly find their occurrences. Click on the arrows displayed next to each keyword to find the next match and use the map to visualize the distribution of the keywords.


My favorite feature is that you can use the word highlighter even when you're not searching the web. Press Ctrl+/, type the keywords and the script will highlight them.

The script can be installed in Firefox (it requires Greasemonkey), Chrome 4 Beta, Opera, Safari (it requires GreaseKit).

Disable Google's Fade-in Animation

Donal Trung 8:51 AM Add Comment
If you don't like the fade-in animation from Google's homepage and you want the old homepage, one option is to disable JavaScript. Google will no longer hide navigation elements, but you won't be able to use many web apps that require JavaScript.

Another option is to install a Greasemonkey script that disables the animation. The script requires Greasemonkey if you use Firefox and GreaseKit for Safari.

You can also add the script in Opera if you follow this guide. Chrome users can install the script if they switch to the dev channel.

If you still use Internet Explorer, install IE7Pro, save the script, rename it to nogooglefade.ieuser.js and copy the script to C:\Program Files\IEPro\userscripts. Enable the script in IE7Pro's settings.



Update: Google Chrome users should install this extension to disable Google's animation.

Use Google's Document Viewer to Read PDF Files Online

Donal Trung 2:09 PM Add Comment
Google Docs Viewer is a handy way to view PDF, PPT and TIFF files online, without having to install plug-ins or additional applications. Unfortunately, Google didn't make it easy to use the viewer without having to manually generate URLs.

A Greasemonkey script automates the process by replacing all the links to PDF, PPT and TIFF files from a page with links to Google's document viewer. To use the script, you need to install Greasemonkey in Firefox or use a dev build of Google Chrome. It should also work in Opera, Safari + GreaseKit and Internet Explorer + IE7Pro.


Hopefully, the future versions of Firefox, Chrome and other browsers will allow users to associate content types with web services, so that you can open KML files in Google Maps, iCal files in Google Calendar or Microsoft Office files in Google Docs.

Replace Google's Logo with a Doodle

Donal Trung 12:27 PM Add Comment
If you like one of the many doodles used by Google to commemorate holidays and events, why not personalize Google's homepage and replace the standard logo with your favorite doodle? A Greasemonkey script created by the Google employee Tiffany Lane will help you pick a doodle from this page and make it sticky.

"By default the script will override your favorite doodle on holidays or any days with a special doodle (personally, I never want to miss a new doodle on the Google homepage). After the holiday is over, your favorite doodle will be back. However, you can change this preference so that your favorite is always shown," mentions the author.

Unfortunately, the script is quite complex and it only works in Firefox, assuming you've installed the Greasemonkey extension.


For iGoogle users, there's a gadget that lets you pick "one of the past Google holiday logos to sit atop your page, or have it cycle through them randomly".

{ via Search Engine Land }

Bring Back the Small Google Search Box

Donal Trung 12:04 AM Add Comment
If you don't like Google's new search box and you think the font size is way too big, there's a Greasemonkey script that brings back the old interface. I've tested the script in Firefox and Google Chrome, so you should try it if you use one of these browsers.

In Firefox, you need to install the Greasemonkey extension, restart the browser and then install the script. If you use Google Chrome Dev Channel or a recent Chromium build, follow these instructions and copy the script to the User Scripts directory.

From:


... back to:


{ Thanks, Anon. }
Google Images The Way It Should Be

Google Images The Way It Should Be

Donal Trung 1:39 PM Add Comment
If you do a search on Google Images, you'll get a list of thumbnails that point to a frame page: you'll see another small version of the image and the webpage that included the image. But you wanted to see the full-sized image, so you click again. Two clicks instead of one.

If you use Firefox, you can install Customize Google extension that, among other feaures, rewrites links to point straight to the images. Or if you have GreaseMonkey installed, you can add the script from here.

For Opera, save the script from UserJS.org to a folder on your computer and make sure you set the option from [Tools/Preferences/ Advanced/Content/ JavaScript options/My JavaScript files] to that folder.

Internet Explorer has a GreaseMonkey clone, called Trixie, that supports most GreaseMonkey scripts, so you can use the script for Firefox.