List Info

Thread: Is unsafeWindow gone?




Is unsafeWindow gone?
user name
2005-12-26 21:53:37
Mine returns 'undefined' too
And there's nothing on JSconsole

?

On 12/23/05, Jeremy Dunck <jdunckgmail.com> wrote:
>
> On 12/21/05, Julien Couvreur <julien.couvreurgmail.com> wrote:
> > Hi,
> >
> > I'm trying to fix my XmlHttp related script to run
with FF1.5 and GM
> > 0.6.4. But unsafeWindow appears to be gone (see
code below). Did I
> > miss something?
> >
> > alert(typeof(unsafeWindow)); // returns
"undefined"
>
> I think you might have a broken install.
>
> Mine:
> alert('unsafe? ' + typeof(unsafeWindow));
>
> alerts with "unsafe? object".
>
> Do you see anything in the js console?
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkeymozdev.org
> http:
//mozdev.org/mailman/listinfo/greasemonkey
>



--
LouCypher
_______________________________________________
Greasemonkey mailing list
Greasemonkeymozdev.org
http:
//mozdev.org/mailman/listinfo/greasemonkey
Is unsafeWindow gone?
user name
2005-12-26 23:19:27
On 12/26/05, Zoolcar9 (LouCypher) <zoolcar9gmail.com> wrote:
> Mine returns 'undefined' too
> And there's nothing on JSconsole
>

I assume a basic script (alert('debug')) is working.

I wonder if domContentLoaded isn't getting the window...

(After backing up your profile) can you tweak your
./components/greasemonkey.js?

Under:   domContentLoaded: function(wrappedWindow) {
please add this line:

log('domContentLoaded " + wrappedWindow);

Then create config entry "greasemonkey.logChrome"
= true.

Then restart FF and check the js console for whether
wrappedWindow was
available (object).

If that's not it, then maybe there's an exception happening
later...
_______________________________________________
Greasemonkey mailing list
Greasemonkeymozdev.org
http:
//mozdev.org/mailman/listinfo/greasemonkey
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )