Remove Horizon (Dynix) automatic refresh

Friday, September 26th, 2008

I find the automatic refresh on my seminary library’s catalog really annoying. I like to open up lots of tabs of results and then evaluate them later. Horizon (Dynix) doesn’t let me do that - those tabs auto-refresh to the main search page after 6 or 7 minutes. I can always press the back button on each of those tabs, but it shouldn’t have to be that way.

Thus, I decided to learn Greasemonkey scripting. There’s a great online book to help you learn, and Greasemonkey is very intuitive.

The onLoad attribute of the body tag calls “setTimer(); setfocus();”. setTimer() is the culprit. So here’s the one-liner to get rid of that (and keep setfocus()):

document.body.setAttribute('onload', 'setfocus();');

Quick and easy. You can install my very first Greasemonkey script here: dynix_norefresh.user.js. You will, of course, need the Greasemonkey Add-on for Firefox.

Horizon Information Portal Search Shortcut

Wednesday, November 14th, 2007

Just a quick one: I finally got tired of clicking through the Wartburg Seminary website, so I made a Firefox Search Shortcut out of the minimum URL needed. Just copy and paste this into a new bookmark in Firefox:

http://library.dbq.edu:8675/ipac20/ipac.jsp?profile=wts&index=.GW&term=%s

And set the keyword on the shortcut to lib. Then you can type lib Your Mom and get all items in the catalog that are about Your Mom.