This is an example of the error console not providing you with the correct
line information. The error is not with greasemonkey.js. The actual error
will be with one the script. From what I can see in your message, It looks
likely that it will be one of your @require d scripts causing the error.

I suggest that you search for inst in your script. If it only appears once
or twice then that should help, but if it appears a lot within the @require
s then it will be harder to debug. Either way, it will give you an idea of
where to look.


Regards




2009/11/20 Jan <[email protected]>

> Hi,
> I'm trying to do very simple script, which should do nothing to much
> complicated.
> Attach to <input type="text" id="datepicker"> the jquery UI
> datapicker.
>
> The script is very easy:
> // ==UserScript==
> // @require       http://192.168.0.153/lib/jquery/jquery-1.3.2.min.js
> // @require
> http://192.168.0.153/lib/jquery/jquery-ui-1.7.2.custom.min.js
> // ==/UserScript==
>
> (function() {
>    GM_log('Testing...');
>    $("#jans").append(" more text.");
>    $("#datepicker").datepicker();
> }());
>
> The .append() works fine..
> However the click on the input fields does not work at all. The only
> debug message I got into the console is:
>
> inst is undefined , line 508 in greasemonkey.js
>
> catMgr.addCategoryEntry("app-startup",
>                          CLASSNAME,                   <------- this
> is the line 508
>                          CONTRACTID,
>                          true,
>                          true);
>
> Currently using Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:
> 1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
> and Greasemonkey 0.8.20090920.2
>
> Any idea what can be wrong?
> Thx,
> Jan
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "greasemonkey-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<greasemonkey-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/greasemonkey-users?hl=.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=.


Reply via email to