navigator.jl

This is legacy code, saved from the days when I used Sawfish as the window manager on my GNU/Linux desktop machine.

navigator.jl contains functions that provide a method if finding Netscape windows and working with them (currently the only thing you can do is get at an URL, if I find other useful things I'll add them).

I find navigator-url really useful in conjunction with sawfish.el and Emacs. Using code like this:

(defun insert-navigator-url ()
  "Insert the URL that Netscape Navigator is looking at.

Note that the URL of the first Navigator window found is inserted."
  (interactive)
  (let ((url (sawfish-code (navigator-url))))
    (when url
      (insert url))))

In Emacs I can bind a key that inserts the URL that the first navigator window is looking at.