Re: Fwd: Add an @type attribute on code

On Sat, 08 Dec 2007 03:48:17 +0100, Garrett Smith <dhtmlkitchen@gmail.com>  
wrote:

> On 12/7/07, Olivier GENDRIN <olivier.gendrin@gmail.com> wrote:

>> I wondered this night that code should have a kind of @type attribute.
>> It would be a hook for specialised search engines or for specific code
>> color rendering displays in UA.
>>
> What about:
>
> <script type="text/monkeyscript" disabled="disabled">
> // your script text
> </script>
...
> This does not, unfortunately, address the current security problems
> with inserting an executable, yet untrusted script onto a page.

And combined with the fact that current browsers may not all understand  
the disabled attribute, and instead run the sscript, this seems like a  
fatal flaw...

cheers

Chaals

-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals              Try Opera 9.5 beta

Received on Saturday, 8 December 2007 18:59:02 UTC