Home Page

Grease Monkey

Below is a Grease Monkey script I wrote for linking to Dilbert Comics from a Dilbert search page.

// ==UserScript==
// @name           Dilbert Search
// @namespace      dilbert
// @include        http://www.bfmartin.ca/*
// ==/UserScript==
var all_objects = document.getElementsByTagName('td');
for(var i=0; i<all_objects.length; i++) {
    var obj = all_objects[i];
    var innerHTML = obj.innerHTML;
    if (innerHTML.indexOf("/") == 4) {
        var date = innerHTML.split("/");
        var url = "http://pag.csail.mit.edu/~adonovan/dilbert/show.php?day=" 
                + date[2] + "&month=" + date[1] + "&year=" + date[0];
        obj.innerHTML = "<a href='" + url + "' target='_blank'>" + obj.innerHTML + "</a>";
    }
}
            

Firefox Extensions

Below is a list of current Firefox extensions that I use.

  • Google Browser Sync - Continuously synchronizes your browser settings – including bookmarks, history, persistent cookies, and saved passwords – across your computers.
  • Forecast Fox - Displays your local weather forecast.
  • Gmail Notifier - Displays a small Icon in the status bar that notify's you when you recieve new mail.
  • Googlebar - A handy tool for the power googler.
  • HTML Validator - I use this extension to validate my websites to XHTML guidelines.
  • Tabbrowser Preferences - This extension enables some great options for tabbed browsing, a must have.
  • Web Developer - An indispensable host of tools for the web developer.

Google Earth Overlays

Two of my favorite things to do are hiking and backpacking. One day I was playing around with some Google Earth overlays that people had created and I got the idea to scan some of my greentrails topo maps and turn them into overlays. Click the links below to view them, I will update the list as I scan more maps.