Skip to content

Instantly share code, notes, and snippets.

@wvega
Created April 14, 2010 19:33
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 wvega/366222 to your computer and use it in GitHub Desktop.
Save wvega/366222 to your computer and use it in GitHub Desktop.
UN Web Authentication
// ==UserScript==
// @name UN Web Authentication
// @namespace scripts.wvega.com
// @include https://200.24.8.8/login.html
// ==/UserScript==
var inputs = document.getElementsByTagName('input'),
username = inputs[6],
password = inputs[7],
submit = inputs[8];
console.log(inputs);
username.value = 'wvega';
password.value = '';
submit.click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment