By AmandaKerik
—
Last update
Apr 10, 2008
—
Installed
109 times.
switch(window.location.pathname){
case '/charpane.php':
var csstdl = "table#aktodolist tr:first-child ~ tr {display: none !important;} table#aktodolist tr:first-child:hover ~ tr, table#aktodolist tr:first-child ~ tr:hover {display: table-row !important;}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(csstdl);
} else if (typeof addStyle != "undefined") {
addStyle(csstdl);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.innerHTML = csstdl;
heads[0].appendChild(node);
}
}
var tdlmenu = document.createElement("div");
tdlmenu.innerHTML = '<table align="center" width="95%" cellpadding="0" cellspacing="0" id="aktodolist"><tbody>' +
'<tr><td style="color: white;" align="center" bgcolor="blue">' +
'<b><a href="" style="text-decoration: none; color: white;">To Do</a></b></td></tr><tr>' +
'<td style="border: 1px solid blue; padding: 5px;">' +
'<table align="center" width="99%"><tbody>' +
'<tr><td ><center style="font-size: smaller">' +
'<a target="mainpane" href="guild.php?place=still">Nash Crosby\'s still</a>, ' +
'<a target="mainpane" href="skills.php">Skill list</a>, ' +
'<a target="mainpane" href="store.php?whichstore=h">Stand (peace)</a>, ' +
'<a target="mainpane" href="postwarisland.php?place=concert">Concert (Peace)</a>, ' +
'<a target="mainpane" href="hermit.php">Hermit</a>, ' +
'<hr width="80%" />' +
'<a target="mainpane" href="bhh.php">Hunter</a>, ' +
'<a target="mainpane" href="cocktail.php">Cocktailcraft</a>, ' +
'<a target="mainpane" href="cook.php">Cook</a>, ' +
'<a target="mainpane" href="shore.php">The Shore</a>, ' +
'<a target="mainpane" href="adventure.php?snarfblat=110">Icy Peak (1)</a>, ' +
'</center></td></tr></tbody></table>' +
'</td></tr><tr><td height=4></td></tr></table>';
document.body.insertBefore(tdlmenu, document.body.firstChild);
break;
}
// ==UserScript==
// @name (Custom) To Do List (by AmandaKerik)
// @namespace http://userscripts.org/users/26909
// @description Puts a custom To Do list above the character pane
// @version 1.0
// @include http://*kingdomofloathing.com/*
// @include http://*127.0.0.1:6008*/*
// @exclude http://forums.kingdomofloathing.com/*
// ==/UserScript==