|
Post by Gryphynx on Oct 13, 2011 6:54:51 GMT -5
Ok, as you probably know, I'm a programmer by profession, as such, I tend to write programs (GreaseMonkey) for any page I hang out at. I just wrote my first, rather simplistic, script for this board because I have the hardest time finding 2 of the games I'm in... This will make that a very very easy task to do... Note. To use this, you MUST have GreaseMonkey installed on either Firefox or Google Chrome. If you have trouble figuring it out, on how to add it, just send me a PM and I'll trouble shoot it for you real quick. Of course, you'll have to adapt the array of games to your own list of games, but it makes finding the games SOOOO much easier. // ==UserScript== // @name Active Games // @namespace Forums // @include murpg.proboards.com/index.cgi*// ==/UserScript== myGames = new Array( "Premptive Strike", "Luck of the Draw", "The Chosen", "Marvel: New World", "Shadows of Night", "Apocalypse", "620 - World Without Heroes" ); allTitles = document.getElementsByTagName("b"); for( x = 0; x < allTitles.length; x++ ) for( y = 0; y < myGames.length; y++ ) if( allTitles[x].innerHTML.indexOf(myGames[y]) == 0 ) allTitles[x].parentNode.parentNode.parentNode.style.backgroundColor = "#000000";
|
|
|
Post by takewithfood on Oct 13, 2011 7:31:36 GMT -5
What does this actually do? (Not "how", I mean what does it look like after it's installed?)
~TWF
|
|
|
Post by Gryphynx on Oct 13, 2011 9:26:51 GMT -5
|
|
|
Post by takewithfood on Oct 13, 2011 14:41:05 GMT -5
Awesome, that's basically what I'd hoped for. I'll have to install that.. Thanks for sharing!
~TWF
|
|
|
Post by Brainstem on Oct 13, 2011 14:48:36 GMT -5
Ah, love me some Grease Monkey. I'll have to DL it later tonight.
|
|
|
Post by Dominus on Oct 14, 2011 9:00:25 GMT -5
I just bookmark each game I am in.
|
|
|
Post by OurLadyWar on Oct 14, 2011 10:40:30 GMT -5
Looks good, Gryph!
|
|
|
Post by roxolid on Oct 14, 2011 17:55:57 GMT -5
When I come onto this forum it goes to my bookmarks page and the threads I'm following, but that's pretty nifty, highlighting the threads. The code sort of reminds me of my old BASIC programming days (For, if etc). Mind you that was nearly 30 years ago, so I'll shut up before a wave of nostalgia sweeps over me...
|
|