David,
Thanks for the reply and the idea. Same result, I'm afraid (returns the text "undefined"). It's like there's no current document or something, but when I invoke "doit()", I'm looking at a web page. Or maybe there's some method that needs to run on "document" before innerHTML gets populated? I can poke around on that angle. Any other ideas or places in piggy bank I can look for something like this? I started looking at the _javascript_ in piggybank, but diving-in without direction was over my head.
>David Huynh wrote:
>Try document.documentElement.innerHTML instead.
>
>Dale wrote:
>> Great starting point: java-firefox-extension... thanks for that!
>>
>> 1) added a "setDocumentContent(String)" method to the Test class.
>>
>> 2) I call that from the JavaFirefoxExtension.doIt = function()
>> (in the browser-overlay.js) using
>> "test.setDocumentContent(document.innerHTML);"
>
>Dale wrote:
>> Great starting point: java-firefox-extension... thanks for that!
>>
>> 1) added a "setDocumentContent(String)" method to the Test class.
>>
>> 2) I call that from the JavaFirefoxExtension.doIt = function()
>> (in the browser-overlay.js) using
>> "test.setDocumentContent(document.innerHTML);"
Email from Sengsational.com
_______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
