msgbartop
News, views, tips and tricks on Oracle and other fun stuff
msgbarbottom

MetaSearch Using Oracle MetaLink Search Plus

Oracle MetaLink Search Plus is a very useful Greasemonkey script. It adds links to more search options from inside the Oracle Metalink search results page.

metalink.png

What does this script do?

After you install the script (see below for instructions), whenever you use the Quick Find to search for something on MetaLink, links are added just below the Quick Find search bar. The links are shortcuts to search results using the following search engines: Oracle documentation, blogs, public forums and mailing lists, AskTom, search.oracle.com and Google. Clicking on a link will open the corresponding search results page in a new window. The search is executed based on the search term that you have entered in the MetaLink Quick Find search box; You do not have to re-enter your search term.

How do I install the script?

Follow these three steps in order:

  1. Install Firefox: If you do not use the Firefox browser, now is a great time to switch. Skip this step if you already have Firefox, otherwise download and install it from mozilla.com.

  2. Install Greasemonkey: This is a Firefox extension that will allow you to manage and run user scripts from within the Firefox browser. User scripts are bits of JavaScript code that allow you to customize the way a web page displays or functions. Skip this step if you already have this extension installed, otherwise download and install it from addons.mozilla.org. Make sure you restart Firefox after you install Greasemonkey.

  3. Install Oracle MetaLink Search Plus: Just click on this link and then click the install button. It will be added to the list of available user scripts as shown below:

metalink_greasemonkey.png

How do I use the script?

Just login to MetaLink and simply perform a search from the Quick Find bar.

Who created the script?

I did. I added links to the most common Oracle related search engines in addition to Google, but if you have other suggestions please let me know.

Are there other useful user scripts out there?

Yes. there are hundreds of user scripts on userscripts.org. From the screen shot above you can see that I use a couple of them: Google Cached Text and Google Cache Continue. I wrote an article a few months ago about how you can use these two user scripts to browse the Web safely and anonymously.

Filed in Firefox, Greasemonkey, Oracle with 3 Comments


How to Browse the Web Safely and Anonymously with Google

As you may already know, Google grabs a copy of each web page it crawls and files it away in its cache. There are exceptions to this behavior as some website owners request not to cache their content either by using robots.txt or password protecting their sites. But, the vast majority of the data Google crawls is cached and accessible via the cached link on the search result page or by using the cache operator.

The Google Cache Banner

For example, to see the Google’s cache of this blog enter the following in Google’s search box: cache:awads.net/wp. You will notice a banner at the top of the page that has some really important information:

Most probably, you rarely pay attention to the banner and you just blow right past it. If you look closely, you will notice the following: This cached page may reference images which are no longer available. This means that you are actually communicating with the original web server that hosts the page and fetching all the images directly from there. This also means that the website where the original web page is hosted on knows about your visit and can log and track your IP address even when you view a web page through the Google cache.

So, if you were striving for anonymity by viewing the Google cached page, you just blew your cover! and if you were striving for maximum page load speed by viewing the Google cached version of the page, you just fetched the images (and other stuff) directly from the external website, making the page load slower in your browser (unless you want to view the images of course).

Cached Text Only

But don’t give up just yet. Notice the Click here for the cached text only in the Google cache page header. This gives you an option to view only the data that Google has captured, without any external references, without any style sheets, without any JavaScript, without any Flash, without any Java Applets… just plain old HTML and text. The fact that viewing a web page with JavaScript disabled provides a safer browsing (there is even a Firefox add-on that does that called NoScript). Moreover, using the the cached text only, you communicate only with the Google server bypassing any connection with the external server where the original page is stored.

When you click on the cached text only link, all what Google does is appending &strip=1 to the cache URL. Notice that the banner at the top of the page looks different now:

The &strip=1 parameter strips out all the “bells and whistles”, leaving you with a page that could look quite different from the original, but still has the “meat” that makes it useful to read.

Cut and Paste

So, you can browse most of the web safely and anonymously using a quick cut and paste and a URL modification. For example, the following Google query site:awads.net inurl:contact returns one result. Instead of clicking the Cached link, right-click the Cached link and copy the URL to the clipboard (Firefox: Copy Link Location, IE:Copy Shortcut), then paste it into the address bar of your browser. Append &strip=1 to the end of the URL and hit Enter. You will be directly taken to the stripped version of the cached page.

Greasemonkey

By now, you’re probably saying: but that’s a lot of work, this copy and paste business. Well, again, don’t give up just yet. There are a couple of Greasemonkey scripts (Firefox only for now) that will make the whole experience with Google cache seamless, easy and fast.

Greasemonkey is a Firefox add-on. It allows you to customize the way a web page displays and functions using small bits of JavaScript. You can download it from the Firefox add-ons site.

After installing Greasemonkey you need to feed it user scripts. You can pick from hundreds of user scripts available at userscripts.org. Here are two that work with Google cache:

  • Google Cached Text: Adds a link to the “cached text only” version near any “Cached” link.
  • Google Cache Continue: Adds links to Google cache results to allow continuing using the cache; keeping search terms highlighted.

I have found the above user scripts very handy and especially useful when used together.

Sources and Resources

Filed in Firefox, Google, Greasemonkey, Tips with 2 Comments | Tags: , ,