RunJS 在当前网页中执行一段JS脚本
在当前网页中执行一段JS脚本,支持获取返回值
参数1:数字,0表示执行js不带返回值,1表示执行js并返回返回值,需要js中有return语句;
参数2:字符串,js脚本
字符串

Call Plugin.Web.RunJS(0,"alert('hello!');")
title=Plugin.Web.RunJS(1,"var t=document.title;return t;")
MessageBox title

Plugin Web.RunJS(0,"alert('hello!');")
Plugin title=Web.RunJS(1,"var t=document.title;return t;")
MessageBox title