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);"

-- 
Ryan Lee                  [EMAIL PROTECTED]
MIT CSAIL Research Staff  http://simile.mit.edu/
http://people.csail.mit.edu/ryanlee/
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to