Bug 16915 - Support <script for="..." event="..."> feature
: Support <script for="..." event="..."> feature
Status: RESOLVED DUPLICATE of bug 31567
: WebKit
HTML DOM
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
: http://www.gyao.jp/
: InRadar
:
: 21193
  Show dependency treegraph
 
Reported: 2008-01-17 15:40 PST by
Modified: 2009-11-16 17:32 PST (History)


Attachments
Reduction (364 bytes, text/html)
2008-01-17 15:41 PST, Anantha Keesara
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-01-17 15:40:40 PST
Steps:
Load: http://www.gyao.jp/

Issue:
On loading the page, a javascript alert pops up. The javascript alert is in Japanese language. Issue seen through many pages across the website.

Reason for why the alert is shown:
<script type="text/javascript" for="Player" event="click()">    linkAction(0);  </script>

The above line is causing the issue. FF/IE recognizes the attributes within the script and doesn't call the function. But Safari calls the function and gives a javascript alert.

Other browsers:
IE /FF: don't show any alert.
Opera: shows the alert
------- Comment #1 From 2008-01-17 15:41:22 PST -------
Created an attachment (id=18514) [details]
Reduction
------- Comment #2 From 2008-01-17 15:59:01 PST -------
This affects comedycentral.com:

<script type="text/javascript" event="FSCommand(c,a)" for="bbFlash">bbFlash_DoFSCommand(c,a);</script>
------- Comment #3 From 2008-01-17 16:21:46 PST -------
FYI, this support is somewhat popular:
http://code.google.com/webstats/2005-12/scripting.html

the MSDN docs:
http://msdn2.microsoft.com/en-us/library/ms533870(VS.85).aspx

I love how those erroneously claim that <script for="..."> is a W3c thing.
------- Comment #4 From 2008-01-30 16:07:45 PST -------
About 200 out of 50K web pages (global top 500) use this syntax. This is the result of a pattern search made on the webpages:


Got stream
http://123.qq.com/
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
http://2008.sohu.com/1year/2008sprint/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://2008.sohu.com/1year/invite2008/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://2008.sohu.com/olympic-news/openingceremony/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://2008.sohu.com/olympic-news/tickets/
<script FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://6.cn/up/
<script type="text/javascript" for="v6ocx" event="Navigate(url)">
Be patient: 500...
http://adc.go.sohu.com/200612/0e914dc6ce27df42bd8d7124925bcf30.php?url=http://house.focus.cn/votehouse/2111.html
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
http://adc.go.sohu.com/200612/143e14429986f85ebbf48044198af6c3.php?url=http://house.focus.cn/votehouse/1093.html
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
http://adc.go.sohu.com/200612/332ba692bea3b6ac2522f410691a4158.php?url=http://house.focus.cn/votehouse/2126.html
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
http://adc.go.sohu.com/200612/4b3f2e745b48ecd60c008ddf6b469d16.php?url=http://house.focus.cn/votehouse/2126.html
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
http://adc.go.sohu.com/200612/7d9e6dfe277717d2196431b90e1a7183.php?url=http://house.focus.cn/votehouse/1765.html
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
http://adc.go.sohu.com/200612/a878ad8eb8a96c93c85b009f8018ab13.php?url=http://house.focus.cn/votehouse/2107.html
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
Be patient: 1000...
http://agorabbs3.media.daum.net/griffin/do/kin/read?bbsId=K152&articleId=59688&pageIndex=1&searchKey=&searchValue=&nil_profile=&nil_agoralist=agoralist4
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
http://arts.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://arts.tom.com/list/syp.html
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://astro.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://auto.163.com/
<script for="nchufa1" event="FSCommand()" type="text/javascript">
Be patient: 1500...
http://auto.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 2000...
http://bj.house.sina.com.cn/
<SCRIPT FOR="sinaCoupletFloat" EVENT="FSCommand()" LANGUAGE="JavaScript">
http://blog.focus.cn/
<script for="wenzhang_blogsort" event="onclick">
Be patient: 2500...
Be patient: 3000...
http://broadband.biglobe.ne.jp/
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/?CH
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/anime/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/bltop/index-brandnew.html?T
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/bltop/index-entertain.html?T
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/bltop/index-fortune.html?U
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/bltop/index-international.html?T
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/bltop/index-social.html?T
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/bltop/index-weather.html?W
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/drama/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/entertain/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/gravure/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/index.html?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/index_documentary_p.html?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/index_hobby_p.html?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/index_news_p.html?T
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/index_sports_p.html?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/index_travel_p.html?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/movie/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/music/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/news/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
http://broadband.biglobe.ne.jp/style/?BB
<script type="text/javascript" for="cmwmp" event="playStateChange(lResult)">
Be patient: 3500...
http://c8.paran.com/?l=P183947
<script language="javascript" for="ImSMgr" event="IMReceiveData(strEvent, strMessage)" src=http://blog.paran.com/Dist_header/templet/tail2.js>
http://c8.paran.com/?l=P184075
<script language="javascript" for="ImSMgr" event="IMReceiveData(strEvent, strMessage)" src=http://blog.paran.com/Dist_header/templet/tail2.js>
http://c8.paran.com/?l=P184090
<script language="javascript" for="ImSMgr" event="IMReceiveData(strEvent, strMessage)" src=http://blog.paran.com/Dist_header/templet/tail2.js>
http://c8.paran.com/?l=P184224
<script language="javascript" for="ImSMgr" event="IMReceiveData(strEvent, strMessage)" src=http://blog.paran.com/Dist_header/templet/tail2.js>
Be patient: 4000...
http://cgi01.ocn.ne.jp/cgi-bin/redir3/go_c10?http://musico.jp/
<script type="text/javascript" for="WMPlayer" event="playStateChange(newState)" src="/player/playstatechange.js">
http://city.sina.net/
<SCRIPT FOR='float_liumeiti' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
Be patient: 4500...
Be patient: 5000...
Be patient: 5500...
http://d.6.cn/g/zhuoyue5/?http://www.amazon.cn/static/qmm_070523_bk_hp.asp?source=6rooms
<script for=window event=onLoad>
Be patient: 6000...
Be patient: 6500...
http://edu.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 7000...
http://enjoyjapan.naver.com/tbbs/read.php?board_id=pfood&nid=49654
<script for=window event=onload>
http://ent.163.com/
<script for="adSm" event="FSCommand()" type="text/javascript">
http://ent.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://ent.sina.com.cn/f/m/mlf/index.shtml
<SCRIPT FOR='floatbtnright' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://ent.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://entretenimento.globo.com/
<script type="text/javascript" for="fdestaque1" event="FSCommand(c,a)">
Be patient: 7500...
http://fashion.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://fashion.mop.com/index.shtml
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://finance.jrj.com.cn/media/rinfo/chenkuncai.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/chenqizuo.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/dangpeng.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/dongwei.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/hanruizuo.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/houlihong.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/jiangyeqing.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/liruoyu.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/liuqi.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/lixuebin.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/maxiaofang.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/mofei.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/shanyuqing.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/sunming.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/wangzhi.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/wuyushan.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/xiongzhengyan.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/zhangyan1.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/zhaohongmei.html
<script language="javascript" for="document" event="onkeydown">
http://finance.jrj.com.cn/media/rinfo/zhourongxiang.html
<script language="javascript" for="document" event="onkeydown">
http://finance.news.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 8000...
http://flights.expedia.com/
<SCRIPT language="JavaScript" for="window" event="onload">
Be patient: 8500...
http://free.21cn.com/
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
http://g1.globo.com/Noticias/Brasil/0,,5598,00.html
<script type="text/javascript" for="mapaBrasil" event="FSCommand(c,a)">
http://g1.globo.com/Noticias/Rio/0,,5606,00.html
<script type="text/javascript" for="mapaBrasil" event="FSCommand(c,a)">
http://game.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://game.mop.com/dzjj/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
Be patient: 9000...
http://games.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://globoesporte.globo.com/
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/0,,MUL85429-4276,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/0,,MUL85550-1305,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/0,,MUL85579-1305,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/0,,MUL85673-4276,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/0,,MUL85676-4843,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/Futebol/America_de_Natal/0,,MUL85620-8708,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/Futebol/Botafogo/0,,MUL85581-4399,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/Futebol/Internacional/0,,MUL85567-4410,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/Futebol/Internacional/0,,MUL85682-4410,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/Futebol/Parana/0,,MUL85422-4408,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://globoesporte.globo.com/ESP/Noticia/Futebol/Selecao_Brasileira/0,,MUL85495-4482,00.html
<script type="text/javascript" for="flashFS" event="FSCommand(p1,p2)">
http://goche.sohu.com/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://golf.sports.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://golf.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 9500...
http://happy.tom.com/
<SCRIPT FOR='tomdl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
Be patient: 10000...
http://hi.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://hjsm.tom.com/
<SCRIPT FOR='tomdl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
http://home.focus.cn/
<script language="javascript" for="DL_LEFT_SWF" event="FSCommand(command,args)">
Be patient: 10500...
http://it.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://it.tom.com/mobile/
<Script language="Javascript" for="LMTplay" event="fscommand()">
http://it.tom.com/notebook/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 11000...
Be patient: 11500...
http://l.interia.pl/a4g
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/a50
<script FOR="wmp" EVENT="ScriptCommand(bstrType, bstrParam)" LANGUAGE="Jscript">
http://l.interia.pl/ab6
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/ac7
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/ags
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/al7
<script FOR="wmp" EVENT="ScriptCommand(bstrType, bstrParam)" LANGUAGE="Jscript">
http://l.interia.pl/amd
<script FOR="wmp" EVENT="ScriptCommand(bstrType, bstrParam)" LANGUAGE="Jscript">
http://l.interia.pl/azd
<script FOR="wmp" EVENT="ScriptCommand(bstrType, bstrParam)" LANGUAGE="Jscript">
http://l.interia.pl/btp
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/bvx
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/c00
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
http://l.interia.pl/daa
<script type="text/javascript" language="JavaScript" for="wmp" event="PlayStateChange(currentState)">
Be patient: 12000...
http://lady.163.com/
<script for="nchufa1" event="FSCommand()" type="text/javascript">
http://lady.163.com/attractive/
<script for="nchufa1" event="FSCommand()" type="text/javascript">
http://lady.163.com/sense/
<script for="nchufa1" event="FSCommand()" type="text/javascript">
http://lady.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 12500...
Be patient: 13000...
http://lottery.sports.21cn.com/
<SCRIPT FOR='TWINS' EVENT='FSCommand()' LANGUAGE='JavaScript'>
http://lux.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 13500...
Be patient: 14000...
http://music.ent.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://music.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://music.sogua.com/song/12886274.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/19725410.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/19990806.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20065951.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20092061.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20123630.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20172075.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20172076.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20172077.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20184496.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20213158.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20232047.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239325.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239327.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239328.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239330.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239331.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239332.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239333.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.sogua.com/song/20239334.htm
<script language="JavaScript" for="mediaPlayerObj" event="playStateChange(rStatus)">
http://music.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 14500...
http://news.163.com/
<script for="nchufa1" event="FSCommand()" type="text/javascript">
http://news.21cn.com/
<SCRIPT FOR='mengniuflash' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://news.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
Be patient: 15000...
http://news.qq.com/
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
http://news.sina.com.cn/
<SCRIPT FOR='mengniuflash' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://news.sina.com.cn/comment.html
<SCRIPT FOR='mengniuflash' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://news.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://news.walla.co.il/ts.cgi?tsscript=ch10
<SCRIPT FOR=window EVENT=onunload>
Be patient: 15500...
http://onecare.live.com/standard/en-us/purchase/trial.htm?sc_cid=mscom_hp
<script type="text/javascript" for="ObjControl" event="AppEvent(cmd,args)">
http://pages.ebay.com/travel/index.html
<SCRIPT FOR=document EVENT="onclick()">
Be patient: 16000...
http://pie.daum.net/kin/puzzle/ShowPuzzle.do?puzzleid=1118017&nil_profile=g&nil_play=4
<script type="text/javascript" For="FileUpload" Event="FinishFileUpload( res )">
Be patient: 16500...
Be patient: 17000...
http://pstatic.xunlei.com/about/product/down_xl5.htm
<SCRIPT FOR="window" EVENT="onload" LANGUAGE="JScript">
Be patient: 17500...
Be patient: 18000...
Be patient: 18500...
http://s.sohu.com/20070723/n251200297.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070724/n251221758.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070724/n251230833.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070724/n251230899.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070805/n251423704.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070807/n251466285.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070808/n251466822.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070808/n251480310.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070808/n251489555.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070808/n251489867.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070809/n251511064.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://s.sohu.com/20070809/n251511245.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
Be patient: 19000...
http://sina.allyes.com/main/adfclick?db=sina&bid=86160,119151,119299&cid=0,0,0&sid=110987&advid=2654&camid=15774&show=ignore&url=http://bj.house.sina.com.cn/exhibit/3681.shtml
<SCRIPT FOR='sinadl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
http://sina.allyes.com/main/adfclick?db=sina&bid=86184,119175,119323&cid=0,0,0&sid=111011&advid=2654&camid=15774&show=ignore&url=http://bj.house.sina.com.cn/exhibit/1879.shtml
<SCRIPT FOR='sinadl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
http://sina.allyes.com/main/adfclick?db=sina&bid=86516,119529,119678&cid=0,0,0&sid=111354&advid=2862&camid=15790&show=ignore&url=http://bj.house.sina.com.cn/exhibit/3700.shtml
<SCRIPT FOR='sinadl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
http://sina.allyes.com/main/adfclick?db=sina&bid=86891,119909,120058&cid=0,0,0&sid=111734&advid=2852&camid=15864&show=ignore&url=http://www.tsinghuait.net/index_corss.html
<SCRIPT FOR='EccoolAd' EVENT='fscommand()' LANGUAGE='JavaScript'>
Be patient: 19500...
http://sina.allyes.com/main/adfclick?db=sina&bid=87253,120271,120420&cid=0,0,0&sid=112096&advid=2618&camid=15906&show=ignore&url=http://www.rdzk.com.cn/
<SCRIPT FOR='EccoolAd' EVENT='fscommand()' LANGUAGE='JavaScript'>
http://sina.allyes.com/main/adfclick?db=sina&bid=90871,123966,124118&cid=0,0,0&sid=115820&advid=4060&camid=16263&show=ignore&url=http://www.sgcc.com.cn
<SCRIPT FOR='EccoolAd' EVENT='fscommand()' LANGUAGE='JavaScript'>
Be patient: 20000...
http://sports.sohu.com/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/nba.shtml
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/s2007/07zhongchao15/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/s2007/6487/s251113668/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/s2007/guozuxuanshuai/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/s2007/ot-cnos/
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/xixing.shtml
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/yingchao.shtml
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.sohu.com/zuqiucaipiao.shtml
<SCRIPT FOR='mengfei_survey_swf' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://sports.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://sports.tom.com/index.html
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 20500...
http://store.sohu.com/
<script for=window event=onLoad>
Be patient: 21000...
http://tech.163.com/
<script for="adSm1" event="FSCommand()" type="text/javascript">
http://tech.sina.com.cn/elec/
<SCRIPT FOR='amdflash' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://tech.sina.com.cn/elec/index.shtml
<SCRIPT FOR='amdflash' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
http://tech.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://top.mop.com/
<SCRIPT FOR='sinadl1' EVENT='FSCommand()' LANGUAGE='JavaScript'>
Be patient: 21500...
http://travel.nytimes.com/
<script language="JavaScript" for="window" event="onload">
http://travel.nytimes.com/2007/08/05/travel/05practical.html?em&ex=1186891200&en=3c84a0738d766af8&ei=5087%0A
<SCRIPT language="JavaScript" for="window" event="onload">
http://travel.nytimes.com/2007/08/10/travel/escapes/10Ahead.html?8dpc
<SCRIPT language="JavaScript" for="window" event="onload">
http://travel.nytimes.com/2007/08/10/travel/escapes/10American.html?8dpc
<SCRIPT language="JavaScript" for="window" event="onload">
http://travel.nytimes.com/2007/08/10/travel/escapes/10placid.html
<SCRIPT language="JavaScript" for="window" event="onload">
http://travel.nytimes.com/2007/08/12/travel/12hours.html
<SCRIPT language="JavaScript" for="window" event="onload">
http://travel.nytimes.com/pages/travel/index.html
<script language="JavaScript" for="window" event="onload">
http://travel.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
http://travel2.nytimes.com/top/features/travel/destinations/unitedstates/newyork/newyorkcity/guide.html
<script language="JavaScript" for="window" event="onload">
http://travel2.nytimes.com/top/features/travel/destinations/unitedstates/newyork/newyorkcity/guide.html/
<script language="JavaScript" for="window" event="onload">
Be patient: 22000...
http://v.sohu.com/20070806/n251444452.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://v.sohu.com/20070807/n251463511.shtml
<script language="JavaScript" for="wmplayer" event="playStateChange(ns)">
http://vgo.21cn.com/?link81&key=MV8w&rd=1
<SCRIPT for="vgoWebPlayer" event="OnUpdate(old_state, new_state)">
Be patient: 22500...
Be patient: 23000...
http://www.100orlandospots.com/
<SCRIPT language="JavaScript" for="window" event="onload">
Be patient: 23500...
Be patient: 24000...
Be patient: 24500...
Be patient: 25000...
Be patient: 25500...
Be patient: 26000...
http://www.altavista.com/news/default
<SCRIPT FOR=document EVENT="onclick()">
Be patient: 26500...
Be patient: 27000...
Be patient: 27500...
http://www.beijingww.com/
<script for='ad' event='FSCommand()' language='JavaScript'>
http://www.biglobe.ne.jp/news/20070810/entame/news_pentertain821983.html?T
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://www.biglobe.ne.jp/news/20070810/movie/news_pnews28220061.html?T
<script type="text/javascript" for="player" event="playStateChange(lResult)">
http://www.bigworldtrips.com/
<SCRIPT FOR=document EVENT="onclick()">
http://www.bokee.com/
<script language="JScript" for="Exobud" event="openStateChange(sf)">
Be patient: 28000...
http://www.chinagov.cn/
<script language="javascript" for="document" event="onkeydown">
http://www.cmfu.com/ask/ask.asp
<Script language="JavaScript" For="LEFT" Event="FSCommand(command,args)">
Be patient: 28500...
http://www.cmfu.com/vip/ebook_list.asp
<Script language="JavaScript" For="LEFT" Event="FSCommand(command,args)">
http://www.cmfu.com/wx/index.asp
<Script language="JavaScript" For="LEFT" Event="FSCommand(command,args)">
http://www.cmfu.com/zj/070611/
<Script language="JavaScript" For="LEFT" Event="FSCommand(command,args)">
http://www.cruises.net/
<SCRIPT FOR="document" EVENT="onclick()">
Be patient: 29000...
Be patient: 29500...
Be patient: 30000...
Be patient: 30500...
Be patient: 31000...
Be patient: 31500...
Be patient: 32000...
http://www.expedia.com/daily/cruises
<SCRIPT FOR=document EVENT="onclick()">
http://www.expedia.com/daily/highlights/best-rate-guarantee/default.asp
<script language="JavaScript" for="window" event="onload">
Be patient: 32500...
http://www.ezit.com.cn/
<SCRIPT FOR='sinadl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
Be patient: 33000...
http://www.focus.cn/
<script for="article_sort" event="onmouseover">
Be patient: 33500...
Be patient: 34000...
Be patient: 34500...
Be patient: 35000...
Be patient: 35500...
http://www.itceo.com/
<SCRIPT FOR='tianjinlmdl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
Be patient: 36000...
Be patient: 36500...
http://www.livedoor.com/r/gyao_h_gyao
<script type="text/javascript" for="Player" event="mediaChange(Item)">
Be patient: 37000...
Be patient: 37500...
Be patient: 38000...
http://www.mop.com/
<SCRIPT FOR='float_liumeiti2' EVENT='FSCommand(command,args)' LANGUAGE='JavaScript'>
Be patient: 38500...
http://www.naver.com/r/d?archlord
<script for="MediaPlayer" event="EndOfStream(result)">
http://www.naver.com/r/d?www.hangame.com
<script language='javascript' for="secukey" event="CurState(state)">
http://www.naver.com/r/m?www.hangame.com/
<script language='javascript' for="secukey" event="CurState(state)">
Be patient: 39000...
Be patient: 39500...
http://www.nytimes.com/2007/08/10/travel/escapes/10havens.html
<SCRIPT language="JavaScript" for="window" event="onload">
http://www.nytimes.com/2007/08/10/travel/escapes/10house.html
<SCRIPT language="JavaScript" for="window" event="onload">
http://www.nytimes.com/2007/08/10/travel/escapes/10live.html
<SCRIPT language="JavaScript" for="window" event="onload">
http://www.nytimes.com/2007/08/10/travel/escapes/10orchard.html
<SCRIPT language="JavaScript" for="window" event="onload">
Be patient: 40000...
http://www.nytimes.com/adx/bin/adx_click.html?type=goto&page=homepage.nytimes.com/index.html&pos=Left1&camp=nytnyt-hpmarketplace&ad=nyt_store_86x40_bl.gif&goto=http://www.nytstore.com/%3Futm_source%3Dnytimes%26utm_medium%3DHPB%26utm_content%3D120x90_blk%26utm_campaign%3DNYT-HP
<script FOR="foo" EVENT="OnObjectReady(objObject, 
objAsyncContext)" LANGUAGE="JScript">
http://www.nytimes.com/nytstore/
<script FOR="foo" EVENT="OnObjectReady(objObject, 
objAsyncContext)" LANGUAGE="JScript">
http://www.nytimes.com/weather
<script xmlns:fo="http://www.w3.org/1999/XSL/Format" language="JavaScript" for="window" event="onload">
Be patient: 40500...
http://www.panet.co.il/online/vplayer/frontpage.html
<script language="javascript" for="objPlayer" event="PlayStateChange(NewState)">
Be patient: 41000...
Be patient: 41500...
Be patient: 42000...
http://www.rambler.ru/click?from=fphoro&_URL=http://audio.rambler.ru/player.html?id=5405
<script language="JScript" for="MediaPlayer1" event="playStateChange(NewState)">
http://www.rambler.ru/click?from=fphoro&_URL=http://audio.rambler.ru/player.html?id=5475
<script language="JScript" for="MediaPlayer1" event="playStateChange(NewState)">
Be patient: 42500...
http://www.sina-bynr.com/
<SCRIPT FOR='sinadl' EVENT='FSCommand()' LANGUAGE='JavaScript'>
http://www.sinadalian.com/
<script for=window event=onload language='JScript'>
http://www.sinajh.cn/
<SCRIPT FOR='EccoolAd' EVENT='fscommand()' LANGUAGE='JavaScript'>
http://www.sjzsina.com/
<SCRIPT FOR="window" EVENT="onload" LANGUAGE="JavaScript">
Be patient: 43000...
http://www.sonyericsson.com/spg.jsp?cc=global&lc=en&ver=4001&template=pc3_1&zone=pc&lm=pc3_1
<script for='window' event='onload' language='javascript'>
Be patient: 43500...
Be patient: 44000...
Be patient: 44500...
http://www.techweb.com.cn/
<script for="ad" event="fscommand()" language="JavaScript">
Be patient: 45000...
http://www.thefirst.cn/
<script   for=window event=onload language='JScript'>
http://www.tom.com/
<Script language="Javascript" for="lmtplay" event="fscommand()">
Be patient: 45500...
Be patient: 46000...
Be patient: 46500...
http://www.v.com.cn/
<SCRIPT language="JavaScript" for="NSPlay" event="Buffering(bStart)">
http://www.vacations.net/
<SCRIPT FOR=document EVENT="onclick()">
Be patient: 47000...
Be patient: 47500...
http://www.wp.pl/r/Lx101
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx102
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx103
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx104
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx105
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx106
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx153
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx154
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx155
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
http://www.wp.pl/r/Lx156
<script language="JScript" type="text/javascript" for="MPlayer" event="error()">
Be patient: 48000...
http://www.wwe.com/content/media/video/vms/ecw/2007/august8-14/5189102
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/lifestylesofthebuiltanddangerous/2007/july1-7/5005562
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/onmydayoff/2007/july22-28/5139958
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/raw/2007/august1-7/5181632
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/raw/2007/august1-7/5181856
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/seeinsuperstars/2007/july22-28/5140798
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/smackdown/2007/august1-7/5167838
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/wweemergencyroom/2007/july22-28/5140386
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/wwemagazine/2007/august8-14/5196300
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
http://www.wwe.com/content/media/video/vms/wwesidesplitters/2007/july22-28/5135840
<script type="text/javascript" for="VideoPlayer1" event="playStateChange(newState)">
Be patient: 48500...
Be patient: 49000...
http://www.yandex.ru/index_engl_qwerty.html
<script for=document event=onkeydown>
Be patient: 49500...
http://www.zytzb.org.cn/
<SCRIPT FOR=window EVENT=onload LANGUAGE="JScript">
Be patient: 50000...
Be patient: 50500...
https://www.suscripcionesrecoletos.com/registro/Controlador?codPublicacion=04
<script for="document" event="onmousemove()" language="JScript" type="text/jscript">
------- Comment #5 From 2008-01-31 03:21:15 PST -------
I wonder if there is any non-obvious reason NOT to implement this.
------- Comment #6 From 2008-02-01 00:07:24 PST -------
<rdar://problem/5719286>
------- Comment #7 From 2008-02-01 12:18:21 PST -------
Moz bugs on the subject:
https://bugzilla.mozilla.org/show_bug.cgi?id=174404
https://bugzilla.mozilla.org/show_bug.cgi?id=191579
------- Comment #8 From 2008-02-01 12:25:53 PST -------
It looks like part of this may require flash player support:
http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html
------- Comment #9 From 2008-02-01 12:26:36 PST -------
Or windows media player support:
http://msdn2.microsoft.com/en-us/library/ms909950.aspx
------- Comment #10 From 2008-02-01 12:37:43 PST -------
I'm not even sure we currently have a way to create events which can pass data via arguments, like script for-event seems to require.

Moz seems to have their own proprietary way:
http://developer.mozilla.org/en/docs/Creating_Custom_Events_That_Can_Pass_Data
------- Comment #11 From 2008-04-14 08:20:19 PST -------
*** Bug 15730 has been marked as a duplicate of this bug. ***
------- Comment #12 From 2009-04-30 09:24:47 PST -------
As of http://trac.webkit.org/changeset/43061 we no longer (incorrectly) run these scripts unconditionally when encountered, fixing a class of bugs with a decent membership.

It would still be nice to go all the way with this, though.
------- Comment #13 From 2009-10-20 06:26:23 PST -------
FYI: per HTML5 script elements with a for attribute should not get executed.
------- Comment #14 From 2009-11-16 17:32:44 PST -------

*** This bug has been marked as a duplicate of bug 31567 ***