Quackmaster / Grepolis Auto Login to World Selection

// ==UserScript==
// @name           Grepolis Auto Login to World Selection
// @include        http://*.grepolis.*
// @exclude        http://*.grepolis.*/game*
// @exclude        http://*.grepolis.*/forum*
// @version        0.1
// @description    Auto login to the world selection in Grepolis
// @require        http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
// @icon           http://s1.directupload.net/images/140711/eshmcqzu.png
// ==/UserScript==


// ----------------------------------------------------------------------------
// Accountinfo
// ----------------------------------------------------------------------------
var username = "username";
var password = "password";


// ----------------------------------------------------------------------------
// Login Script
// ----------------------------------------------------------------------------
document.getElementById('name').value = username;
document.getElementById('password').value = password;
$("a.button").click();