Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function findAndClick(btnValue)
{
var btns = top.document.getElementsByTagName("button");
var inputs = top.document.getElementsByTagName("input");
for (var i=0; i<btns.length; i++)
{
if (btns[i].firstChild == btnValue)
{
btns[i].click();
return;
}
}
for (var i=0; i<inputs.length; i++)
{
if (inputs[i].type.toLowerCase() == "button" && inputs[i].value == btnValue)
{
inputs[i].click();
return;
}
}
alert(btnValue+" button not found!");
}