If you try an URL like this...

data:text/html;charset=utf-8,<html><body>Hello%20world</body></html>

Didier


--- On Mon, 6/9/08, andythedestroyer@gmail.com <andythedestroyer@gmail.com> wrote:
From: andythedestroyer@gmail.com <andythedestroyer@gmail.com>
Subject: Re: Extension needs to open a new window with content from string instead of file.
To: dev-extensions@lists.mozilla.org
Date: Monday, June 9, 2008, 3:38 PM

On Jun 9, 12:33 pm, "Kai Liu" <k...@mozilla.kailiu.com> wrote:
> > Is there a way I can open a widow, browser, dialog etc.. with the
> > contents of the output directly
>
> The data: URL scheme is your friend...

Thanks for the response, however I seem to be too dense to understand
it. If you don't mind, please elaborate.

-Thanks much.
-Andy
_______________________________________________
dev-extensions mailing list
dev-extensions@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-extensions