NEW Greasemonkey Script: Chat Filter

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
Post Reply
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

NEW Greasemonkey Script: Chat Filter

Post by Dako »

This script offers one small functionality for you.

It adds 2 links to filter out all [team] and [self] messages from the other chat lines. Or the other way.

Install link - http://userscripts.org/scripts/show/81365
Script works in Firefox and Google Chrome.

Screenshots to see how it looks:

1. Default state
Image

2. Filtered by other messages
Image

3. Filtered by team messages
Image

Install link - http://userscripts.org/scripts/show/81365

Note: this script has problems with chatglove and must be below chatglove in GreaseMonkey menu.

Enjoy!
Image
User avatar
Incandenza
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Gender: Male
Location: Playing Eschaton with a bucket of old tennis balls

Re: NEW Greasemonkey Script: Chat Filter

Post by Incandenza »

Very handy, much obliged good sir.
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
Knight2254
Posts: 378
Joined: Tue May 01, 2007 9:21 pm
Gender: Male

Re: NEW Greasemonkey Script: Chat Filter

Post by Knight2254 »

Yes, this is a great script. Well done again Dako
User avatar
the.killing.44
Posts: 4724
Joined: Thu Oct 23, 2008 7:43 pm
Gender: Male
Location: now tell me what got two gums and knows how to spit rhymes
Contact:

Re: NEW Greasemonkey Script: Chat Filter

Post by the.killing.44 »

Best new scriptwriter goes to…Dako!
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: NEW Greasemonkey Script: Chat Filter

Post by Foxglove »

Nice. :)

This would be a lovely chatglove addition. ;)
User avatar
Incandenza
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Gender: Male
Location: Playing Eschaton with a bucket of old tennis balls

Re: NEW Greasemonkey Script: Chat Filter

Post by Incandenza »

Foxglove wrote:Nice. :)

This would be a lovely chatglove addition. ;)


You and Dako should combine forces and create DaFoxychat. :D
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: NEW Greasemonkey Script: Chat Filter

Post by Dako »

Foxglove wrote:Nice. :)

This would be a lovely chatglove addition. ;)

We can merge it later when API will be updated and we can refactor chatglove.
Image
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: NEW Greasemonkey Script: Chat Filter

Post by Foxglove »

Dako wrote:
Foxglove wrote:Nice. :)

This would be a lovely chatglove addition. ;)

We can merge it later when API will be updated and we can refactor chatglove.


So speaking of refactoring, do you have any other implementation ideas for this? :) I want to use it... but I have some games with thousands of lines of chat in them, and this completely destroys my browser. :(
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: NEW Greasemonkey Script: Chat Filter

Post by Dako »

Can you give me the game number? I need to profile the script and see which chat-parser is faster. I have some ideas on that.
Image
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: NEW Greasemonkey Script: Chat Filter

Post by Foxglove »

Dako wrote:Can you give me the game number? I need to profile the script and see which chat-parser is faster. I have some ideas on that.


Hmmm well it's team chat, so it won't show up for you. Maybe we can search for a game with lots of public chat.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: NEW Greasemonkey Script: Chat Filter

Post by Dako »

Ok, I will try to fins a game. Maybe some BR will fit :-).
Image
User avatar
-=- Tanarri -=-
Posts: 884
Joined: Wed Jul 08, 2009 2:02 pm
Location: The Underworld

Re: NEW Greasemonkey Script: Chat Filter

Post by -=- Tanarri -=- »

If you're looking for something to test the public chat filters against, you could try Game 1000001. There's almost 3 years worth of chat in that game as well as over 1200 rounds of play, initially 140+ players, now down to 5. I think anybody with an add-on program that they want to torture test could use that game. If the add-on survives that game well enough, then it's gotta be efficient.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: NEW Greasemonkey Script: Chat Filter

Post by Dako »

Thanks! Will try that game.
Image
User avatar
Bruceswar
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: NEW Greasemonkey Script: Chat Filter

Post by Bruceswar »

here is a test game...

Game 4134997
Highest Rank: 26 Highest Score: 3480
Image
User avatar
rdsrds2120
Posts: 6274
Joined: Fri Jul 03, 2009 3:42 am
Gender: Male

Re: NEW Greasemonkey Script: Chat Filter

Post by rdsrds2120 »

Thanks for the great script!

-rd
chapcrap
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Gender: Male
Location: Kansas City

Re: NEW Greasemonkey Script: Chat Filter

Post by chapcrap »

I just noticed this script. I'll be downloading on the laptop ASAP.

I just wanted to check on it's status and see if it was merged with Chatglove yet or if that was going to happen.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: NEW Greasemonkey Script: Chat Filter

Post by Dako »

Was not merged and this script has caveats. Make sure it is the last one in GreaseMonkey addons as it changes some crucial layout of the chat.

If you want to merge it with chatglove you can ask dwilhellmi to do som, he is free to grab my code for that.
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: NEW Greasemonkey Script: Chat Filter

Post by dgz345 »

Merged with chatglove. moving to archives
Post Reply

Return to “Tool Archives”