Print

Print


On Tue, 24 Jan 2006, kevin smith wrote:

> Hello,
>
> I am trying to adapt the Amazon SPL Linky for a friend who is a patron
> of the Tulsa City-County Library.

huh, well, I just started playing with Greasemonkey myself last week to do
something pretty similar.  Some things I noticed right away:

1) the script doesn't have the .user.js suffix on the end.  I think
Greasemonkey and probably userscripts.org expect this.  I would think they
would have a more meaningful error message for this.

> I am no coder, I just tried to
> modify the variables at the top, but I get an error from
> userscripts.org when I ty to install the script.  :

So you uploaded it to userscripts.org?  That seems like a painful way to
do development.  Instead, just save the javascript file to your machine
and open with firefox.  There should be a little yellow line on top that
says something like "hello do you want to install this userscript?"  (The
exact words vary a bit).

I installed it in a similar manner after changing the script name to be
atcclinky.user.js.  It does install.  My guess is you'll need to do some
debugging though.  Perhaps a friendly soul might help you out there.

Also, do you have the latest version of GreaseMonkey?

Jon Gorman