// ==UserScript== // @name Shartak Underworld Gateway // @namespace http://underworld.shartak.com/ // @description Adds buttons to profile pages so that kills and deaths can be easily viewed and logged in the Shartak Underworld. // @include http://www.shartak.com/profile.cgi?* // ==/UserScript== // Shartak Underworld Gateway // Version: 1.1 (2016-02-17) // History: // 1.0 2006-06-20 Elembis // Original Greasemonkey script published at // http://userscripts.org/scripts/show/4274 which uses // http://www.philosoph.us/misc/shartak/underworld/ // 1.1 2016-02-17 Simon // Updated script to reflect new address of underworld // website http://underworld.shartak.com/ var profileID; if (profileID=document.location.href.split("=")[1]) { var content=document.evaluate("//p", document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null).snapshotItem(0); var url = "http://underworld.shartak.com/"; content.innerHTML = "
" + content.innerHTML; }