On Tue, Aug 28, 2012 at 2:17 AM, Trevor Butcher <[email protected]>wrote:
> var evenColor = arguments[1] ? arguments[1] : "#000"; > var oddColor = arguments[2] ? arguments[2] : "#226"; > As written (in the script you linked) these lines don't work because there is no arguments object. Greasemonkey used to wrap scripts up in a function wrapper, which provided it, but this creates debugging problems. You should change these lines to simply: var evenColor = "#000"; var oddColor = "#226"; -- 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=en.
