View Full Version : The GFS thread
dunamis
05-11-2008, 07:52 PM
Or "Good Fucking Story." This is for stuff worth mentioning that isn't really thread-worthy.
My contribution: I have completely removed Incognito from my posting experience. You know how ignore doesn't deal with quotes? I wrote another greasemonkey script that searches quotes to see if someone quotes Incognito. If they do, I don't see the post at all.
You see:
http://zorachus.net/images/incog2.JPG
I see:
http://zorachus.net/images/byeincog1.JPG
And that's the last I'll ever have to hear from him :)
edit: Cranium doesn't seem to like these greasemonkey scripts, so I decided not to post the code.
I already have suki and Funnee on that. It's wonderful.
Firestorm
05-11-2008, 07:54 PM
What an interesting idea. Thanks.
Scabman
05-11-2008, 07:58 PM
Neat.
I won't be using the ignore function though, since I want to get the full picture of each thread, so your code is of no use for me. But it was still pretty cool.
CrAnIuM
05-11-2008, 08:08 PM
Or "Good Fucking Story." This is for stuff worth mentioning that isn't really thread-worthy.
My contribution: I have completely removed Incognito from my posting experience. You know how ignore doesn't deal with quotes? I wrote another greasemonkey script that searches quotes to see if someone quotes Incognito. If they do, I don't see the post at all.
You see:
I see:
And that's the last I'll ever have to hear from him :)
edit: Cranium doesn't seem to like these greasemonkey scripts, so I decided not to post the code.
Post away ...
Be advised If I get errors in any of my logs from people using this I will delete the suspected user from the data base.
Have fun !!
dunamis
05-11-2008, 08:11 PM
Thanks. Again, I don't want to do anything here that's against your wishes.
You definitely won't get errors, though. Here's the way greasemonkey works:
1) The page is served completely from the website, and no longer has any connection with the server.
2) Greasemonkey loads the javascript. The javascript parses through the page and changes things, after the page is served.
In other words, the only thing that I'm changing is on my computer; not on the actual site.
edit: And since you said it's fine, here's the code again:
// ==UserScript==
// @name byebyeincognito
// @namespace http://zorachus.net
// @include http://swollencranium.com/*
// @include http://www.swollencranium.com/*
var quotes, quote, user;
user="Incognito";
quotes=document.getElementsByTagName("strong");
for(var i=0; quotes[i]; i++)
{
quote=quotes[i].firstChild;
if (quote.nodeValue == user)
{
quote=quote.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.p arentNode.parentNode.parentNode;
quote.innerHTML=user+" loooooool";
}
}
To change it to any other user, just change the part that says "user=" to whatever user you want to ignore.
CrAnIuM
05-11-2008, 08:13 PM
Thanks. Again, I don't want to do anything here that's against your wishes.
One .. I'm guessing 8 out of 10 will look at your code like a monkey trying to tell time.
two .. I have no issues with them trying it, my error logs will catch who ever fucks up and does a no no.
Polar Bear
05-11-2008, 08:23 PM
One .. I'm guessing 8 out of 10 will look at your code like a monkey trying to tell time.
Bingo!!
It was the same thing when Frozenstar was handing out his kudos-reacharound code. Someone sent it to me and it's still sitting on my desktop, waiting form me to figure out what the fuck to do with it. Only now I don't even give a damn because the site is pretty much dead and buried as far as I'm concerned.
Seriously...what the fuck am I supposed to do with that paragraph of Sanskrit-shit?
dunamis
05-11-2008, 08:31 PM
If you actually want to use it, PM me and I'll send you detailed instructions.
Polar Bear
05-11-2008, 08:49 PM
If you actually want to use it, PM me and I'll send you detailed instructions.
I appreciate the offer, but I've already promised myself that if I ever again let someone piss me off so bad that I have to ignore them, I'm going to turn off my computer and go outside for a little while.
Come to think of it,the last time I did get that pissed, it was a double shot of White Cheech and Incognito together.
But I digress....ever since I came up with the 'go outside for a while" therapy, I've been happy as a pig in shit with my online experiences. I would recommend that before installing any code.
dunamis
05-11-2008, 08:52 PM
It's not so much that it angers me; it's that I have no recollection of ever seeing Incognito post anything worth reading. As Titty said, it's like he's just sticking around to make personal attacks on members, and I just don't want to read it. If I thought I'd be missing anything, I wouldn't ignore him.
Two or three years of it is enough for me. I'm done with it.
Shade
05-11-2008, 11:17 PM
Thanks. Again, I don't want to do anything here that's against your wishes.
You definitely won't get errors, though. Here's the way greasemonkey works:
1) The page is served completely from the website, and no longer has any connection with the server.
2) Greasemonkey loads the javascript. The javascript parses through the page and changes things, after the page is served.
In other words, the only thing that I'm changing is on my computer; not on the actual site.
edit: And since you said it's fine, here's the code again:
// ==UserScript==
// @name byebyeincognito
// @namespace http://zorachus.net
// @include http://swollencranium.com/*
// @include http://www.swollencranium.com/*
var quotes, quote, user;
user="Incognito";
quotes=document.getElementsByTagName("strong");
for(var i=0; quotes[i]; i++)
{
quote=quotes[i].firstChild;
if (quote.nodeValue == user)
{
quote=quote.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.p arentNode.parentNode.parentNode;
quote.innerHTML=user+" loooooool";
}
}
To change it to any other user, just change the part that says "user=" to whatever user you want to ignore.
Nice script. I might make a slight tweak to it. Also, if im not mistaken this runs through the browser as a primer. I dont see any injections so i'm not sure if it's even possable to get errors on SC's logs. Question though, before i run this, does it keep the formating of the other posts? I get the script, but don't see the parsing, unless thats done via VB
CrAnIuM
05-11-2008, 11:18 PM
Nice script. I might make a slight tweak to it. Also, if im not mistaken this runs through the browser as a primer. I dont see any injections so i'm not sure if it's even possable to get errors on SC's logs. Question though, before i run this, does it keep the formating of the other posts? I get the script, but don't see the parsing, unless thats done via VB
It MAY not cause errors ... but if I find out users are ignoring staff members then ALL external code work is off limits.
Shade
05-11-2008, 11:29 PM
It MAY not cause errors ... but if I find out users are ignoring staff members then ALL external code work is off limits.
snicker. Thats not the scripts fault, thats the users. Same if they skipped the post or didnt read that thread. Sides, there is nothing in the script against PM's.
dunamis
05-11-2008, 11:31 PM
It doesn't have to parse; it uses the JavaScript DOM. (http://www.google.com/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fwww.w3schools.com%2Fjs%2Fjs_obj_htmldom.asp&ei=4bknSKnBFajkigH2kunxCA&usg=AFQjCNHiVC2oRGo98Z1pvZMIzA5fWUSg_w&sig2=TQ1jvx-r3QeNDrfXSzn8Pw)
edit: The updated version that I posted in the shoutbox preserves formatting.
dunamis
05-12-2008, 10:26 PM
I might shave my head if a poll I started on another forum gets enough "yes" votes.
I don't really care one way or the other; I think that it would be really funny.
Shade
05-13-2008, 07:26 PM
I might shave my head if a poll I started on another forum gets enough "yes" votes.
I don't really care one way or the other; I think that it would be really funny.
Atleast dye it hot pink before man.
Hardwood
05-13-2008, 07:32 PM
This is a decent place to play (so far)
Lets just find out how much it would cost to get the asshole (incog) banned.
I will kick in $5..............
I already have suki and Funnee on that. It's wonderful.
so then I guess you won't know that I just called you a fat ugly twat, then?
fat ugly (wait I forgot something...oh, yeah. stupid) stupid twat.
InterStella
05-14-2008, 04:31 PM
It was the same thing when Frozenstar was handing out his kudos-reacharound code. Someone sent it to me and it's still sitting on my desktop, waiting form me to figure out what the fuck to do with it.
Seriously...what the fuck am I supposed to do with that paragraph of Sanskrit-shit?
Ffs, even I managed THAT one, and I'm totally pooter-daft. Just ask MacSmack.
I might shave my head if a poll I started on another forum gets enough "yes" votes.
Sounds like a smashing idea!
Atleast dye it hot pink before man.
Even better! Dye it pink, then shave it off.... taking pics all the way!
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.