Re: Re-asking: a weaklist that doesn't work and an object with elements that can't be copied or queried

"R.Wieser" <[email protected]> Mon, 22 Feb 2021 08:20:41 +0100
Newsgroups gmane.comp.mozilla.general
Message-ID <[email protected]>
Al,

> Sorry, as much as I'm a programmer I never saw any mention of writing code 
> for FF.

I thought that the choice of newsgroup would have been a bit of a dead 
give-away ?   Besides it being specified in the referred-to thread ofcourse.

> And what you were posting was, sorry to say, way over my head far enough I 
> had no idea what you were writing.

:-)  a XUL addon is just a bit of JS that ties some (complexly-named) FF API 
functions together.

All that I did was to ask FF to call my function whenever a new web resource 
was received ("http-on-examine-response"), so that I could extract, from the 
object it supplied as the first argument to my callback function, the 
webpages HTTP status value.

Have you done any JS at all ?   In that case the "object-dump-javascript" 
code in the link I provided in the initial message (which could be used 
anywhere, including on a webpage) should not be too hard to follow.

And by the way : JS is just a "tool" language for me, which I seldom use 
(just GreaseMonkey and XUL scripts) and as such consider myself barely a 
novice in it.  Luckily my google-fu most never lets me down when I need to 
figure something out. :-)

Regards,
Rudy Wieser