bagarospo89 / OGame - Chat Alianza

// ==UserScript==
// @name           OGame - Chat Alianza
// @author         Elwe - ogame.com.es - uniFornax - Eddited by Dimix to fit Xalynth and own alliance requirements.
// @namespace      http://userscripts.org/scripts/show/12154
// @include        http://s128-it.ogame.gameforge.com/game/index.php?page=alliance*
// @include        http://s128-it.ogame.gameforge.com/game/index.php?page=messages*
// arroba include        http://*.ogame.gameforge.com/game/index.php?page=networkkommunikation*
// ==/UserScript==
// Versión 1.0


(function(){
  //var elemento = document.getElementById('section31');  //para ponerlo debajo de los circulares
  var elemento = document.getElementById('planet');  //para ponerlo en la imagen
  var titulo = document.getElementsByTagName('h2');
  titulo[0].innerHTML = 'SPQR Chat room';
  var p = document.createElement("p");
  var chat = '<noscript>Enable Javascript to get full functionality of this <a href="http://www.freeshoutbox.net/">shoutbox</a><br /></noscript><iframe src="http://Nevermind.freeshoutbox.net/" height="275" width="600" frameborder="0"></iframe>';
  elemento.setAttribute('style', 'height:300px;background-image:none;');
  p.setAttribute('style', 'margin:0px;');
  p.innerHTML = chat;
  elemento.appendChild(p);
})();