[Greasemonkey] Odd behaviour in ebay search script

Aaron Boodman zboogs at gmail.com
Wed Nov 30 16:27:01 EST 2005


On 11/30/05, John Plsek <jplsek at iinet.net.au> wrote:
> First, the script ... http://userscripts.org/scripts/show/1363

This had some XPCNativeWrapper issues. I have fixed it and will post
the new script in a second.

> in fact, even my favorite script, addcsssignature.user.js
>
>   if (document.body && document.body.id == '')
>     document.body.id = location.host.replace(/\./g,'-').toLowerCase();

I do not get this error. The following script works as expected for me
with 0.6.4 that was just posted to greaseblog:

<snip>
if (document.body && document.body.id == '')
   document.body.id = location.host.replace(/\./g,'-').toLowerCase();

alert(document.body.id);
</snip>

- a


More information about the Greasemonkey mailing list