Thanks Ryan!  That did it. 

Ryan Lee wrote:
>Try content.document.documentElement.innerHTML
>
>DRS2 Usenet wrote:
>> I've just discovered that document.location is
>> "chrome://browser/content/browser.xul" when doIt runs,
>> no matter what page you're looking at.
>>  
>>  >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);"

_____________________________________________________________
Email from Sengsational.com
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to