Welcome to Gaia! :: View User's Journal | Gaia Journals

 
 

View User's Journal

Simply-Katy's Journal
// ==UserScript==
// @name Gaia Online Thread Feed
// @namespace http://eveningnewbs.googlepages.com
// @description Embeds an RSS feed for Gaia threads.
// @include http://gaiaonline.com/forum/*
// @include http://www.gaiaonline.com/forum/*
// ==/UserScript==

// Begin Script Update Checker code
var version_scriptURL = "http://userscripts.org/scripts/source/18945.user.js"; // Change this URL to point to a permanent copy of your own script.
var version_timestamp = 1200458024546; // Used to differentiate one version of the script from an older one. Use the Date.getTime() function to get a value for this.
if(parseInt(GM_getValue("lastUpdate","0" wink )+86400000<=(new Date().getTime())){GM_xmlhttpRequest({method:"GET",url:version_scriptURL+"?"+new Date().getTime(),headers:{'Cache-Control':'no-cache'},onload:function(xhrResponse){GM_setValue("lastUpdate",new Date().getTime()+"" wink ;if(parseInt(/version_timestamps*=s*([0-9]+)/.exec(xhrResponse.responseText)[1])>version_timestamp){if(confirm("There is an update available for the Greasemonkey script ""+xhrResponse.responseText.split("@name" wink [1].split("n" wink [0].replace(/^s+|s+$/g,"" wink +"."nWould you like to go to the install page now?" wink ){GM_openInTab(version_scriptURL);}}}});}
// End Script Update Checker code

thread = document.URL;
t1 = thread.indexOf("/t." wink ;
t2 = thread.indexOf("?t=" wink ;
if ((t1 != -1) || (t2 != -1))
{
if (t1 != -1)
t = parseInt(thread.substr(t1 + 3)) + "";
else
t = parseInt(thread.substr(t2 + 3)) + "";
if (t > 0)
{
rssLink = unsafeWindow.document.createElement("div" wink ;
rssLink.innerHTML = '<div style="background-color:#ffc; padding:6px; top:5px; left:6px; border:solid 1px #cc9; float:left;"><a title = "Thread Updates via RSS" href = "http://jarett.nfshost.com/gaiarss.php?t=' + t + '"><img src = "chrome://browser/skin/page-livemarks.png" /></a></div>';
gigya = unsafeWindow.document.getElementById("gigya" wink ;
gigya.parentNode.insertBefore(rssLink, gigya.nextSibling);
}
}





 
 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum