Skip navigation.

halO

programming, hackery, rants, science and of course Opera

UserJS for Google Video

, , ,

I like watching documentaries on Google Video, but with Googles aquisition of YouTube they now also include search results from YouTube when searching from Google Video.

I didn't like this very much, so instead of adding site:video.google.com to every query manually, I wrote a UserJS that adds a default site search button. Enjoy.

How to enable UserJS

  1. Put the user javascript file in a folder along with all other scripts for the site you wish to alter. My personal preference is to name the folders by domain, so for Google Video the folder name would be "video.google.com". I also recommend placing all such folders inside a "userjs" folder.
  2. Go to the site in question. In this instance that would be http://video.google.com/.
  3. Right-click on an empty space to bring up the page context menu.
  4. Select "Edit site preferences...".
  5. Go to the "Scripting" tab and click "Choose" besides the text box at the bottom.
  6. Select the folder where you placed the sitesearch.js file you downloaded from this post. You will probably need to restart Opera before the script becomes active.
  7. You should now see a button titled "Search Google Video" next to the search box at Google Video, just before the regular "Search" that was already there and still functions as normal.

Steer clear of Vista if you want a usable systemFaster for-loops, update

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies