// ==UserScript==
// @name http://s1.mlgame.co.uk/
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description enter something useful
// @match http://s1.mlgame.co.uk/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
// @copyright 2012+, You
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle('#wrapper{width:100%;height:1500px;border:1px solid black;overflow:auto}#first{float:left;width:48%;border:1px solid red}#second{border:1px solid green;margin:0 0 0 50%}');
var calc =
'<div id="wrapper"> '
+ '<div id="first">'
+ ' <iframe src="http://en.mylandsgame.info/calc/" style="border:0px #FFFFFF none;" name="iFrame1" scrolling="yes" frameborder="0" height="100%" width="99%"> '
+ ' </iframe> '
+ '</div> '
+ '<div id="second">'
+ '<div><iframe src="http://lightirc.com/start/?host=irc.lightirc.com&autojoin=%23strangers&showNickSelection=true&nick=User_%25" style="width:99%; height:40%;"></iframe><div>'
+ ' </div> </div>';
$('body').append(calc);