Skip to content

Instantly share code, notes, and snippets.

@atommarvel
Last active December 28, 2015 10:59
Show Gist options
  • Save atommarvel/7490719 to your computer and use it in GitHub Desktop.
Save atommarvel/7490719 to your computer and use it in GitHub Desktop.
var loginMac = function(index, pw){
var macAddresses = ["f8:8f:ca:24:c4:ef" //glass
,"40:f4:07:67:35:82"]; //3ds
var username = document.getElementById("username");
var password = document.getElementById("password");
var mac = document.getElementById("devlogin_mac");
username.value = "araiff3"
password.value = pw;
mac.value = macAddresses[index];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment