Skip to content

Instantly share code, notes, and snippets.

@illustris
Created April 6, 2018 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save illustris/555e67ea3a6af50e9c16d3c784f0a8c1 to your computer and use it in GitHub Desktop.
Save illustris/555e67ea3a6af50e9c16d3c784f0a8c1 to your computer and use it in GitHub Desktop.
Modified dosubmit function to bypass captcha on ZTE F612W router login page
function dosubmit()
{
if (getObj("Frm_Username").value == "")
{
getObj("errmsg").innerHTML = "Username cannot be empty.";
getObj("myLayer").style.visibility = "visible" ;
return;
}
else
{
subpageSubmit();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment