// UW Library Proxy user script
// version 0.1
// 2007-06-21
// Author Harry Love hlove@u.washington.edu
// Copyright (c) 2007, University of Washington
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.
//
// To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "UW Library Proxy", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name			UW Library Proxy
// @namespace		http://www.lib.washington.edu/
// @description		Sends all web pages through the UW Library Proxy
// @include			*washington.edu*
// @exclude			*offcampus.lib.washington.edu*
// @exclude			*weblogin.washington.edu*
// @exclude			*portforward.lib.washington.edu*
// ==/UserScript==

document.location.href = "http://offcampus.lib.washington.edu/login?url=" + document.location.href;