Another way to go could depending on the port you are using. if it exposes DOM APIs (like qt does in trunk), for example, it is a matter of DOM: get element by its id, traverse its "param" child nodes, and get the "name" parameter value...
On Tue, May 12, 2009 at 8:56 PM, naixuan guan <guannaix...@gmail.com> wrote: > Hi, everyone > > Recently, I met a HTML page which has a object tag like this: > > <OBJECT id=player style="LEFT: 0px; WIDTH:100%; TOP: 0px; HEIGHT:100%" > codebase= classid=> > <param name="URL" value="?"> > <PARAM NAME="ShowUI" VALUE="1"> > <PARAM NAME="volume" VALUE="90"> > <PARAM NAME="autoPlay" VALUE="2"> > <PARAM NAME="mute" VALUE="0"> > <PARAM NAME="DropEnable" VALUE="0"> > <PARAM NAME="EnableFullScreen" VALUE="0"> > <PARAM NAME="ShowVideo" VALUE="1"> > <param name="loop" value="2"/> > </OBJECT> > <script language="JavaScript"> > document.player.URL = urlpath+file; > </Script> > > I have two questions > 1.how to detect the parameters in object tag? > 2.specially, how to detect the "URL" param which is changed by Javascript? > > Thank you! > _______________________________________________ > webkit-dev mailing list > webkit-dev@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > -- --Antonio Gomes _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev