[Greasemonkey] Feature request: access to HTTP headers

Nikolas Coukouma lists at atrus.org
Fri Jun 3 07:01:15 EDT 2005


Ben wrote:

>Is this even possible with the implementation? I thought that at time
>of applying GM that all a person got left was the html of the page
>itself. Anything else would be digging really deep into the firefox
>internals?
>
>Ben
>  
>
See: getResponseHeader() and getAllResponseHeaders()
http://xulplanet.com/references/objref/XMLHttpRequest.html

>On 6/1/05, Mark Pilgrim <pilgrim at gmail.com> wrote:
>  
>
>>It would help in several scripts I'm working on if I could get access
>>to the HTTP headers that the server returned along with the page.  An
>>associative array would be best, although I could parse a big honking
>>string if I had to.
>>
>>--
>>Cheers,
>>-Mark
>>


More information about the Greasemonkey mailing list