[Project_owners] appendChild of a iframe into document.body
Foreningen Selvet - Jesper Staun Hansen
jesper at selvet.dk
Sat Aug 11 07:35:09 PDT 2007
I am just gonna string.match() on the entire text, since I am now having
problems with that the evaluate only works if I am on the page I have
set as URL... But the strange is that I still get the responseText. EEEH!
GM_xmlhttpRequest({
method: "GET",
url: "http://www.heroes.dk/Game/forside.asp",
onload: function(details) { parseitall(details.responseText); }
})
*me confused*
Foreningen Selvet - Jesper Staun Hansen wrote:
> Yea, and it works like a charm, expect from the flash part.
> Perhaps I should throw this: iframe.contentWindow.location.href =
> location.href;
> before appendChild?
>
> eric.jung at yahoo.com wrote:
>
>> Did you try preventing about:blank from loading in the IFRAME with the
>> code I pointed you to yesterday?
>>
>> ----- Original Message ----
>> From: Foreningen Selvet - Jesper Staun Hansen <jesper at selvet.dk>
>> To: Project Owners <project_owners at mozdev.org>
>> Sent: Saturday, August 11, 2007 9:36:35 AM
>> Subject: [Project_owners] appendChild of a iframe into document.body
>>
>> Hellow
>>
>> appendChild of a iframe into document.body
>> Like this: document.body.appendChild(iframe) created by this:
>>
>> var iframe = document.createElement("IFRAME");
>> iframe.setAttribute("style",
>> "visibility:hidden;position:absolute;top:0px;left:0px;width:0px;height:0px;border-style:none;border-width:0px;display:none;");
>> document.body.appendChild(iframe);
>>
>> This will make the window flash white for a sec every time it is ran.
>> Its quiet annoying, anyone know how this is solved?
>>
>>
>> Greets.
>>
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners at mozdev.org
>> http://mozdev.org/mailman/listinfo/project_owners
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Project_owners mailing list
>> Project_owners at mozdev.org
>> http://mozdev.org/mailman/listinfo/project_owners
>>
>>
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>
>
More information about the Project_owners
mailing list