16 Feb 2008

Ikariam grease monkey scripts

Autologin grease monkey script for Ikariam:

// ==UserScript==
// @name IkariamAutologin2
// @namespace Ikariam
// @include http://ikariam.de/
// ==/UserScript==

var SERVER = "s5.ikariam.de"; //Nur die Zahl verändern s1 = alpha, s2 = beta
var USERNAME = "username"; //Hier deinen Username eintragen
var PASSWORD = "password"; //Hier dein Passwort eintragen


document.getElementById("universe").value = SERVER;
document.getElementById("login").value = USERNAME;
document.getElementById("pwd").value = PASSWORD;

var url = "http://" + document.getElementById("universe").value + "/index.php?action=loginAvatar&function=login";

document.getElementById('loginForm').action = url;
document.getElementById("loginForm").submit();