Sorry to resurrect a slightly older topic, but I want to clarify some
points about how the browser DOM and the script language interact.
Paul Rubin wrote:
> Huh? The language itself has to provide the sandbox.
> Remember that scripts have to be able to see
> certain DOM elements but not others, a
Paul Rubin wrote:
> Magnus Lycka <[EMAIL PROTECTED]> writes:
>
>>Of course, one might suggest that it's the task of the browser,
>>and not of the scripting language, to provide a safe sandbox
>>where scripts can mess around and without causing havoc on
>>your computer. Such a system in the browser
Greg Ewing <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
>
> If the DOM objects are implemented as built-in Python
> types, there shouldn't be any difficulty with that.
> Python objects have complete control over which attributes
> can be read or written by Python code.
>
> Tha
Greg Ewing <[EMAIL PROTECTED]> writes:
> If the DOM objects are implemented as built-in Python
> types, there shouldn't be any difficulty with that.
> Python objects have complete control over which attributes
> can be read or written by Python code.
No, they don't. See the sorry history of the r
Paul Rubin wrote:
> Huh? The language itself has to provide the sandbox.
> Remember that scripts have to be able to see
> certain DOM elements but not others, and some of them have to be
> read-only, etc.
If the DOM objects are implemented as built-in Python
types, there shouldn't be any diffi
Magnus Lycka <[EMAIL PROTECTED]> writes:
> Of course, one might suggest that it's the task of the browser,
> and not of the scripting language, to provide a safe sandbox
> where scripts can mess around and without causing havoc on
> your computer. Such a system in the browser could be used to
> gra
Rune Strand wrote:
> What would it take to create a Firefox extension that enables Python as
> a script language in the browser - just like Javascript? Is it at all
> possible? Are the hundred good reasons not to bother?
There are certainly security issues. A simple implementation
that started a "
What would it take to create a Firefox extension that enables Python as
a script language in the browser - just like Javascript? Is it at all
possible? Are the hundred good reasons not to bother?
I once made an application that used MozPython[1]. It was fun and very
fast compared to the Mod_Python