To Do List with Disappearing Links (AmandaKerik)

By AmandaKerik Last update Jun 29, 2008 — Installed 297 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
switch(window.location.pathname){

case '/charpane.php':

var csstdl = "#aktodolist tr:first-child ~ tr {display: none !important;} #aktodolist tr:first-child:hover ~ tr, #aktodolist tr:first-child ~ tr:hover, #aktodolist tr:first-child ~ tr:hover ~ tr {display: table-row !important;} #aktodolist tr:first-child ~ tr a:visited {color: #ccc !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 menu = document.createElement("div");

menu.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 class="one-off" target="mainpane" href="sendmessage.php">Buffs, </a>' +

'<a class="one-off" target="mainpane" href="clan_rumpus.php">Clan, </a>' +

'<a class="one-off" target="mainpane" href="barrel.php">Barrels, </a>' +

'<br><a target="mainpane" href="hermit.php">Hermit, </a>' +
'<a class="one-off" target="mainpane" href="sewer.php">Sewer(1), </a>' +

'<br><a target="mainpane" href="bhh.php">Hunter, </a>' +
'<hr>' +

'<a class="one-off" target="mainpane" href="knoll_mushrooms.php">Mushrooms, </a>' +

'<a class="one-off" target="mainpane" href="skills.php">Summoning, </a>' +
'<hr>' +

'<a class="one-off" target="mainpane" href="bigisland.php?place=orchard">Stand (War) </a>' +

'<a class="one-off" target="mainpane" href="store.php?whichstore=h">(Peace), </a>' +

'<br><a class="one-off" target="mainpane" href="bigisland.php?place=concert">Concert (War) </a>' +

'<a class="one-off" target="mainpane" href="postwarisland.php?place=concert">(Peace), </a>' +

'<br><a class="one-off" target="mainpane" href="bigisland.php?place=nunnery">Nuns (War) </a>' +

'<a class="one-off" target="mainpane" href="postwarisland.php?place=nunnery">(Peace) </a>' +

'<br><a class="one-off" target="mainpane" href="bigisland.php?place=farm">Ducks (War) </a>' +

'<a class="one-off" target="mainpane" href="adventure.php?snarfblat=155">(Peace), </a>' +
'<hr>' +

'<a target="mainpane" href="adventure.php?snarfblat=112">Semi-rare 1 - wine </a>' +

'<br><a target="mainpane" href="adventure.php?snarfblat=113">Semi-rare 2 - tarts </a>' +

'<br><a target="mainpane" href="adventure.php?snarfblat=114">Semi-rare 3 - lunchbox </a>' +

'</center></td></tr></tbody></table>' +

'</td></tr><tr><td height=4></td></tr></table>';

document.body.insertBefore(menu, document.body.firstChild);

  break;

}

// ==UserScript==

// @name          To Do List with Disappearing Links (AmandaKerik)

// @namespace     http://userscripts.org/users/26909

// @description   Puts a General To Do list above the character pane Note: Clear your "browsing history" to reset the links to visible.

// @version	  2.0


// @include       http://*kingdomofloathing.com/*

// @include       http://*127.0.0.1:6008*/*


// @exclude       http://images.kingdomofloathing.com/*
// @exclude       http://forums.kingdomofloathing.com/*

// ==/UserScript==