jesus X wrote:
> benjamin mooney wrote:
>
>>is there a way that chrome files can be accessed within a web page and
>>used functionaly? i tried taking a copy of editor.xul and calling it
>>from an iframe, it displayed perfectly but lost all functionality.
>
> No. That type of operation has been specifically disabled for security.
True in a practical sense. With a bit more work than benjamin is probably
interested in a signed webpage could probably request appropriate
permissions and then do this if the user consented.
If you're interested in signed code don't waste time asking in this
newsgroup, hardly anyone knows much about it in Mozilla. Go straight to
www.mozilla.org and the npm.security group. Note that you'll need a code
signing certificate which VeriSign and Thawte charge big bucks for, or
you'll need to run your own certificate server and have all your potential
users first import your root certificate authority. Generally that's the a
very very risky thing to do so people won't, unless you're doing this as
part of some institution that can get your root CA embedded in custom
versions of Mozilla that you distribute.
If you're specifically requesting the ability to do rich text editing in a
web form, I believe there are feature requests along that line. If ever
implemented it would be available to any web page which would be infinitely
more useful than the messy first approach.
>>does anyone know of any work being done in this area?
Several searches failed to turn up an RFE in bugzilla along these lines,
although that doesn't mean there isn't one. I'd ask around in the
npm.editor newsgroup
-Dan Veditz