Showing posts with label greasemonkey. Show all posts
Showing posts with label greasemonkey. Show all posts

13 August 2008

Quick Tip: Adding Ancestry Surname Search to Lookitup2

I talked last week about Greasemonkey and some tools you can use to make online genealogy research even easier. Today I want to show you how to add an Ancestry surname search capability to LookItUp.

To do the following, you must have Greasemonkey and the LookItUp2 add-on installed in your browser (instructions can be found in my prior post here). You must also be logged in to your Ancestry account.

To Add Ancestry Search to LookItUp2:

1. Highlight any word on any webpage (it doesn't matter what or where, as long as something is highlighted). While the word is highlighted, press Shift+3. The following screen will appear:




2. Click the "New Site" button as indicated by the red arrow above.

3. Fill in the information for the site name (e.g., "Ancestry")

4. Insert the following URL into the URL field*:

http://search.ancestry.com/cgi-bin/sse.dll?rank=0&=&=&=&=&=&=&=&=&=1%2C+&=&=&=1%2C+&gsfn=&gsln=[words]&sx=&=&=&=1%2C+&=&=&=1%2C+&gs1co=2%2CUSA&gs1pl=1%2CAll+States&year=&yearend=&=&=&=&=&=1%2C+&=&=&sbo=0&sbor=&ufr=0&wp=4%3B_80000002%3B_80000003&srchb=r&prox=1&db=&ti=0&ti.si=0&gl=allgs&gss=ansmp&so=1

5. Add a letter shortcut for your site. If you have not deleted any sites, be aware that the letter "a" is defaulted to ask.com in LookItUp2. (You can remove any sites you don't think you will use by deleting them using the "Delete" button located to the far right of each line).

Your added fields should look something like this:



6. Click Save and the window will close.

7. Try your search out! (Remember, to use LookItUp, you simply highlight the word you want to search on, then press Shift+Control+Space). The Ancestry search will be on the last tab. Click on the tab or press the shortcut key you assigned to see your results. Here's an example using a surname from a Wikipedia article:



* Note that the URL provided above searches on the surname defaulted to the entire United States. To limit the search to one particular state, replace the phrase "2CAll+States" in the above URL with the name of your state, capitalized, using a "+" sign between words for states with two names. For example:

Replace 2CAll+States with 2CCalifornia to search in California

Replace 2CAll+States with 2CNorth+Carolina to search in North Carolina.

As you can imagine, you can set up multiple Ancestry search possibilities with different states in which you typically research.

08 August 2008

Greasemonkey-What It Is, Why You Should Care

If you are using Firefox, you should have heard the term "Greasemonkey" being tossed around once or twice on your internet travels. If you haven't, no sweat. Let this post serve as your primer on Greasemonkey, and by the end you will be itching to get Firefox greased up and ready to speed down that infamous "information highway."

What it is

Put simply, Greasemonkey is an extension (also called an add-on) for Firefox that allows you to manipulate web pages to your liking. More than just a simple add-on that works on a single site or in certain ways, Greasemonkey gets under the hood of your total browsing experience, and allows you to create a more seamless, efficient web.

Sounds great, right? So let's get started!

Getting Greasemonkey

You begin by downloading the add-on here. Simply click the "Add to Firefox" Button and the following box will come up:



Click "Install Now" when the button de-greys, and the extension will install. You will have to restart Firefox for the extension to function correctly.

Give the Monkey Bananas

On its own, Greasemonkey doesn't do a whole lot, but sit idly in the background waiting for something exciting to happen. Much like a banana to a monkey, so is the User Script to Greasemonkey... it's what makes Greasemonkey come alive and start to show its charm.

User Scripts are simply small scripts, written by individuals, which use the power of Greasemonkey to accomplish certain things within your browser. Some user scripts are designed to work along with specific sites (like Google, Amazon, or even online gaming sites). Some make very minute changes to the layout or toolbar options for certain sites. But some user scripts stand out for the ways in which they re-configure the web to make it more efficient and user-friendly.

You can browse the gamut of these scripts at userscripts.org.

Some Very Useful Scripts

So what can greasemonkey and user scrips do for the genealogist?

LookItUp2- A great script that extends your ability to use the web in a more seamless way. LIU2 allows you to select text and search for a word or term in a variety of different websites without leaving the page you are on.

Let's say I am on the Allen County Government Website, and was wondering if this "Allen County" had any genealogy resources I should be aware of. With Greasemonkey and the LookItUp2 script installed in my browser, I can simply press Shift+Ctrl+Space and a screen appears over my current screen:



The top red arrow shows the search field, where I have entered my query, "Allen County Genealogy". Next to this field is the drop-down menu which allows me to select what site I would like to search (the list includes Wikipedia, Wiktionary, Google Images, Google, Websters, Answers.com and more).

The second red arrow shows the results I have gotten for my search in Google. Note that under this pane is the original Allen County Government page on which I started. I can browse as normal within this pane, then, when I am finished, simply click-off of the pane into my standard browser window, and the pane disappears!

Google Extras- Another powerful script that adjusts search results in Google to provide search over multiple different sites like Google Images, Wikipedia, Google Videos, and Dictionary.com.

Let's say I search on Google for "genealogy" with this script installed. This is what I see after performing my search:



This "megasearch" makes use of the traditional white-space in the right margin of Google results pages, and makes short work of finding what data is online related to your search terms.

Custom Sticker-Adds temporary markers to web pages to be used while working on that page. The markers disappear after a page refresh or upon returning to the page, but will remain if the page is re-navigated to by going backwards through your history.

An example of using the red markers on Ancestry:



The nice thing about these markers is that they remain when printing the page, providing an easy way to mark text or lines for printed web pages!

In Conclusion

These are just a few examples of the useful scripts you can find to make Greasemonkey a most useful browser extension. Greasemonkey and its attendant user scripts seems to me to be a glimpse of where the web is headed... a streamlined place where web sites interact across URL, less boxed in to their sites and more energized because of their fluidity and customizable use. As is apparent, the new web is one driven by you and your specific needs... no more waiting for a webmaster to add or removed certain tools, features or functions! The browser is back in the driver's seat.

A Word of Warning

You should make sure that you have installed (or updated to) the most current version of Greasemonkey, as vulnerabilities are always possible, and have emerged in the past. Of course, if you are using Firefox and not Internet Explorer, you probably know how to manage your online security already. But hey... never hurts to hear a helpful reminder.