Patch to fix getJSON in a Firefox extension context

Patch to fix getJSON in a Firefox extension context


Hi,
I'm using jQuery in a Firefox extension to modify the current
document. It work great.
I only have problems with ajax request.
When you use getJSON in a FF extension the document object has no
<head /> but jQuery try to use it to add a <script /> tag.
The problem is located in the $.ajax() function.
The patch bellow fix the problem:
% diff jquery-1.3.2.js apwalfr/content/jquery.js
3433c3433,3434
< window[ jsonp ] = function(tmp){
---