The BEST Guide to POLAND
Unanswered  |  Archives 
 
 
User: Guest

Home / Feedback  % width posts: 25

Kill troll posts with Firefox addon


Sandman 3 | 28
8 Nov 2010 #1
If you're using Firefox, I hacked together a Greasemonkey script to kill the troll posts on PF.

1. Install Greasemonkey: addons.mozilla.org/en-US/firefox/addon/748
2. Download the script: opendrive.com/files/7753459_68QV4_f0eb/polish_forums.zip
3. Locate your Firefox profile: support.mozilla.com/en-US/kb/profiles
4. Unzip the contents and put it in the "gm_scripts" folder in your Firefox profile
5. Enjoy PF without trolls :)

The default kill list includes Harry, PolishTraitor, delphiandomine, PolenGGG and Espana. That's my subjective selection based on either sociopathic, anti-Polish comments or the persistent use of the slur "Polack". You can change the kill list in the script to your liking. The moderation process is very slow and arbitrary. The script takes care of the trolls right away.

The script kills the troll posts on page load. It kills individual posts. Threads are not affected. There are 2 versions of the script, a plain one and a "radical" one. The plain version only kills messages posted by the troll himself. The "radical" version kills ALL posts mentioning the troll (in quotes or otherwise). Select one or the other in Greasemonkey's settings.

There's a slight delay on page load as the filtering is done. But it won't spoil the pleasure of seeing blank spaces where Harry's, PolishTraitor's, etc posts would otherwise appear :)
Harry
8 Nov 2010 #2
Any chance that you can add to the list posters constantly tell anti-semitc lies? 1Jola, nott, and Sokrates would certainly improve this forum by the absence of their foul filth.
SeanBM 35 | 5,806
8 Nov 2010 #3
Harry, he won't be able to read that ;)
Harry
8 Nov 2010 #4
Possibly. But I'd suggest to anybody who thinking about taking up his offer that they read this 'Greasemonkey' Malware Targets Firefox.

The malware, dubbed 'Trojan.PWS.ChromeInject.A,' sits in Firefox's add-ons folder, registering itself as 'Greasemonkey,' the well-known collection of scripts that add functionality to Web pages rendered by Firefox. The malware uses JavaScript to identify more than 100 financial and money transfer Web sites, including PayPal, collecting logins and passwords, which it forwards to a server in Russia.

supergeekblog.com/2008/12/greasemonkey-malware-targets-firefox

But if people want to trust a user with 7 posts, feel free!
convex 20 | 3,930
8 Nov 2010 #5
It's looks ok. Seems to break the css though.
z_darius 14 | 3,965
8 Nov 2010 #6
You forgot to mention three things:

1. From the article you linked to:The malware is not present in Mozilla's repository of add-ons, Canja said. Mozilla had taken steps to ensure that its official site hosting add-ons - also called extensions - are free from malware.

2. The article you linked to is from 2008 and therefore outdated. It's the end of 2010.
3. The link to the download points to Mozilla, the creators of Firefox, not to "some" site, so it's irrelevant whether the user made 7 posts or 7000.

Also, Javascript itself is a concern when it comes to browser security - greasmonkey or not and browsing the net via any browser poses risks to the computer.
sausage 19 | 777
8 Nov 2010 #7
Nice work Mr Sandman, anyone tried it with Chrome yet?
joepilsudski 26 | 1,389
8 Nov 2010 #8
I'm glad I am on nobody's list...They would then use dodgy computer programs against me...I don't post much here anymore because discussions are like 'My Polish Girlfriend Has Genital Herpes, Should I Eat...?'...Like that.

Actually, my feeling is that so-called trolls stimulate web traffic for sites...In fact, I often wonder if certain 'trolls' aren't actually moderators under disguise...You know, like they say, any publicity is good publicity...Perhaps I have become cynical.
OP Sandman 3 | 28
8 Nov 2010 #9
Hm, for some reason, I can't see all the posts above... ;) I take it someone was questioning the security of the solution? Greasemonkey comes straight from Mozilla's site. All add-ons posted there have been vetted by the makers of Firefox. I'll see if I can tweak the script to play nicely with CSS.
guesswho 4 | 1,278
8 Nov 2010 #10
In fact, I often wonder if certain 'trolls' aren't actually moderators under disguise..

you read my mind, lol
Crow 155 | 9,030
8 Nov 2010 #11
If you're using Firefox, I hacked together a Greasemonkey script to kill the troll posts on PF.

what if troll uses some computer owned by some government? that way you eventually may hack some official Web. That could be interesting and you can finish even in a jail, all together with troll, of course.
Wroclaw Boy
8 Nov 2010 #12
Harry, he won't be able to read that ;)

Thats a classic man, cracked me up.

as for the OP great idea.
George8600 10 | 632
8 Nov 2010 #13
I can't believe the admin is allowing this leak to seep through....

Can we atleast get our avatars back is this guy gets to hack the forum?
ukpolska
8 Nov 2010 #14
It's looks ok. Seems to break the css though.

It doesn't break it as it adapts and filters it, no harm becomes the site at all and we use these all the time.

But do not use these UNLESS you know what you are doing as some script kiddies love to put back doors in these sometimes.
convex 20 | 3,930
8 Nov 2010 #15
Take a look at the script, it's not all that complicated :)
sausage 19 | 777
8 Nov 2010 #16
I tried it on Chrome.... Only works half the time

It doesn't break it as it adapts

On Chrome I can always see the four "choose file" which you would normally only see when you want to upload images. Then it won't let me enter a post.
Bolle 1 | 146
8 Nov 2010 #17
Perhaps I have become cynical.

You should continue posting, at least in the politics/history sections, to balance anti-Polish trolls like Harry and delphi.
delphiandomine 88 | 18,163
8 Nov 2010 #18
Anti-Polish? I live here, work here, socialise here, etc etc...

Anti-Polack, yes. Polacks aren't Polish.
ukpolska
8 Nov 2010 #19
Take a look at the script, it's not all that complicated :)

I know that as I write PHP scripts almost everyday as it is part of my job.
Bolle 1 | 146
9 Nov 2010 #20
Anti-Polack, yes. Polacks aren't Polish.

You live & work in poland but i bet you only socialise with other limey expats or internet forums - i don't think you have any polish friends (PF doesn't count).

You don't speak polish either - how long have you been in poland? 2, 3 years? You should get over your superiority complex and start learning because i bet you'll be stuck here for life. There are no jobs for partacze like you back in the UK.

You don't like poles. You don't like americans either. But your greatest enemy is the polish-american - no surprise. I doubt you've even been to the US or ever met a polish-american.

You're grumpy & ignorant (and arrogant) and i bet you live one sad life, just like your buddy harry.

I've met a couple of brits just like you here in wroclaw.
Mr Grunwald 33 | 2,190
9 Nov 2010 #21
even in a jail, all together with troll, of course.

think abain if you want to meet a troll

youtube.com/watch?v=vy2nAOdBUlw
Trollhunters are in big need!
OP Sandman 3 | 28
9 Nov 2010 #22
Can we atleast get our avatars back is this guy gets to hack the forum?

Boy, some people are amazingly clueless about technology. No one's hacking any forums or websites here. The web pages generated by PF get sent to you exactly as before. It's only when it comes to display the web page in your own browser that the script strips the unwanted chunks from the page. Greasmonkey wouldn't be hosted by Mozilla if Firefox people hadn't had a good look at its source code. The workings of the troll remover script can be checked by any programmer.

It seems to me a few people here are extremely over-sensitive?

No one's forcing the thick-skinned people to block anyone. Just like no one should be forcing the thin-skinned people to hang out with jerks they don't care for. Sounds to me just like your typical social dynamic in real life.
MediaWatch 10 | 945
9 Nov 2010 #23
Hmmmm interesting.

Well I have noticed how one Anti-Polish troll seems to get special treatment from a mod. Or maybe the trolls have had some success infiltrating PF?
A J 4 | 1,081
9 Nov 2010 #24
Just like no one should be forcing the thin-skinned people to hang out with jerks they don't care for.

Fair enough. (Just wondering why some people get all worked up over a few people they shouldn't take too seriously in the first place!)

Sounds to me just like your typical social dynamic in real life.

Not really, but I guess I'm just not the type to stick my head in the sand. (Pun intended!)

;)
OP Sandman 3 | 28
9 Nov 2010 #25
I wasn't comparing PF as a whole to real life, just the mechanism of social exclusion. If you invite friends over and and one of them ends up trashing your place, hitting on your girl and harrassing neighbors, chances are he won't be invited again. He'll be effectively removed from your social life, by virtue of your giving him the cold shoulder (he may or may not learn from that experience, depending on how dense he is). Being able to block trolls is the equivalent of that mechanism on PF, prevously lacking.

I'm just not the type to stick my head in the sand

I think you're confusing two separate concepts: 1) "sticking your head in the sand" and 2) allowing to have your time wasted by crackpots and sociopaths. If Jehova's Witnesses come by your house, do you engage them in a proper 2-hour theological debate to dispute their worldview, because doing anything else would be "sticking your head in the sand"? I don't. I close the door, because I don't like my time wasted. Blocking trolls on PF is no different, given that their contribution to my wellbeing, knowledge or entertainment is zero, which qualifies them as a complete waste of my time.

Anyway... I tweaked the script a bit and updated the file. On my system the script now preserves css perfectly.


Home / Feedback / Kill troll posts with Firefox addon

Please login or sign-up on the main page to post in this category!