hello Friends I'm Preparing a Browser Plugin Where am I making a mistake in this code
function IE.ExecuteJS(tObjectName,tScript)
if tIE == true then
Application.Sleep(500);
loadstring('sIE.'..''..tScript..'')();
end
end
For example, I want the following codes to work in the plugin
result = IExplorer.ExecuteJS("Plugin1", "alert(document.getElementsByClassName('bh bi')[1].innerText)");
IExplorer.ExecuteJS("Plugin1", "document.getElementsByName("submit")[0].click();
IExplorer.ExecuteJS("Plugin1", "document.getElementsByTagName("form")[0].elements[0].click();
IExplorer.ExecuteJS("Plugin1", " document.getElementById('177682162373056.2').checked = true");
IExplorer.ExecuteJS("Plugin1", "document.getElementById('177682162373056.2').click();");
IExplorer.ExecuteJS("Plugin1", "javascript:void(document.getElementById(\"ornek\").value=\""..ornek.."\");");
IExplorer.ExecuteJS("Plugin1", "window.scrollTo(0,document.body.scrollHeight);");
vs vs
these are examples codes
I am waiting for your help thanks in advance
Iexplorer. ExecuteJS Error ??
isn't there someone to help