naftaly at me.com
Sun Oct 25 14:36:46 PDT 2009
On Oct 25, 2009, at 5:23 PM, Maciej Stachowiak wrote:
> On Oct 25, 2009, at 2:01 PM, Alexander Cohen wrote:
>> In the events of a tag, i needed to add checks to see what type of
>> script was being called. A lot if not all of the time, we will
>> there for my defined scripting language and call into the right code.
> Here is an example from Google's home page:
> <a href="http://images.google.com/imghp?hl=en&tab=wi" onclick=gbar.qs
> (this) class=gb1>Images</a>
> You could invent a new URL scheme that runs your scripting language
> do about onclick handlers, unless you're willing to break
> compatibility with existing Web content.
You're right. But this does give an opportunity for my scripting
probably result in an error. I can definitely catch that and check for
Just by curiosity, would it be bad to do something like this (notice
the "newscriptinglang:" in the onload ):
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev