amnonaar@gmail.com | 7 Mar 2007 10:19
Picon

Re: document.write() and script privileges

On Mar 6, 6:46 pm, Boris Zbarsky <bzbar... <at> mit.edu> wrote:
> amnon... <at> gmail.com wrote:
> > How can I make the browser load a document from a string containing
> > HTML code, and have the document run with regular privileges?
>
> Which exact regular privileges?  There are many different ones; at least one per
> hostname.
>

By "regular" privileges I mean the type that web pages have, as
opposed to those that firefox extensions have. In this case, since the
extension replaces the contents of an already open window, it would be
fine if the new document would have the same privileges (principal?)
as the original one.

Amnon

Gmane