Script: Chatglove - Version 1.8.3

The home of third-party tools and utilities that can enhance your Conquer Club experience.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Script: Chatglove - Version 1.8.3

Post by dgz345 »

Chatglove
original by: [player]Foxglove[/player]
contributing users name can be seen in the version history

What does it do?
  • Can detach the chat too allow you to drag the chat frame around the game page. It also makes your chat warm and fuzzy!
  • Searches for new chat messages

Where do I get it?
Install the userscript from here: http://tools.conquerclub.com/chatglove/
Should work on all browsers supporting Tampermonkey

!IMPORTANT!
you may have to reset chat location if you can't see the floating chat

User Guide
chatglove User Guide

Changes in version 1.8.3: by [player]dgz345[/player]
- changed how new chats are showed in central command. new messages are now shown with a Blue asterisk (*)

[spoiler=version history]Changes in version 1.8.2: by [player]dgz345[/player]
- disabled transition for the chatframe

Changes in version 1.8.1: by [player]dgz345[/player]
- changed host

Changes in version 1.8.0: by [player]dgz345[/player]
- more bugs...

Changes in version 1.7.9: by [player]dgz345[/player]
- bug fixes....

Changes in version 1.7.8: by [player]dgz345[/player]
- can no longer get stuck on the top

Changes in version 1.7.6: by [player]dgz345[/player]
- added load entire chat to the floating frame
- added [player]Dako[/player]'s Chat Filter

Changes in version 1.7.5: by [player]dgz345[/player]
- [toggle dead] should not make the floating chat jump anymore

Changes in version 1.7.4: by [player]dgz345[/player]
- the api changes should no longer crash ChatGlove
--- should fix some "resets" ppl had

Changes in version 1.7.3: by [player]dgz345[/player]
- fixed a bug where it did not display the message input box when pressing [restore] in the floating chat
- fixed the message input box width after [restore]
- changed the "Reset chat position". now it works better with panels

Changes in version 1.7.2: by [player]dgz345[/player]
- one code line error...

Changes in version 1.7.1: by [player]dgz345[/player]
- Poly games is not teamgames anymore (be careful when writing notes to self)

Changes in version 1.7.0: by [player]dgz345[/player]
- works a lot better with panels
- - does not jump when you move the panels around
- still works without panels

Changes in version 1.6.19: by [player]dgz345[/player]
- was not using the correct dates.

Changes in version 1.6.18: by [player]dgz345[/player]
- Ignore snapshots when sniffing
- Now works with Clickable Maps
- Menu layout fixed
- Works good with/without the new panel layout
- Works on inbox page and other pages where "leftnav" was missing id
- Changed Script Host To ConquerClub

Changes in version 1.6.17: by [player]Foxglove[/player]
- Updated Chatglove to work again after the latest site updates.

Changes in version 1.6.16: by [player]dwilhelmi[/player]
- Corrected for Firefox 5.0

Changes in version 1.6.15: by [player]dwilhelmi[/player]
- Corrected a bug that was causing detached chat window to always post chats in public, ignoring team only checkbox

Changes in version 1.6.14: by [player]dwilhelmi[/player]
- Another minor change to correct the new version notification (for real this time)

Changes in version 1.6.13: by [player]dwilhelmi[/player]
- Minor change to correct the new version notification

Changes in version 1.6.12: by [player]dwilhelmi[/player]
- Updated to better support name changes on the screen (Bork, Bork, Bork!)

Changes in version 1.6.11: by [player]dwilhelmi[/player]
- Make "Game Chat [x]" link go to first game with unread chat, instead of the My Games page
- Made "Reset chatglove" option a little more clear, and added a confirm before execution
- Added Chrome support

Changes in version 1.6.10: by [player]dwilhelmi[/player]
- Corrected to be included on both http and https
- Corrected compatibility bug with BOB's full chat option
- Added "Ignore game chat" feature

Changes in version 1.6.9: by [player]dwilhelmi[/player]
- Housekeeping for hosting switch
- Changed the version checking mechanism

Changes in version 1.6.7: by [player]dwilhelmi[/player]
- Fixed to work with site updates
- Changed to be hosted by dwilhelmi

Changes in version 1.6.3: by [player]Foxglove[/player]
- Fixed 'Mark All Chat as Read' bug
- Fixed bug that didn't allow users to enter chat in games in which they weren't playing
- ADDED FEATURE: in chatglove options users now can set the "chatsniff" interval to search for new game chat every page load, every 1 minute, or every 5 minutes

Changes in version 1.6.2: by [player]Foxglove[/player]
- Fixed bug that caused the Game Chat count to reset periodically to show all games as having new chat
- Added "Reset chatglove" position option to menu (only shows when you're looking at a game page)

Changes in version 1.6.0: by [player]Foxglove[/player]
- Added chatsniffer functionality to detect new game chat (this option can be disabled from the chatglove Options menu)
- Fixed bug that caused page to jump to top of the chatglove when entering a game in detached mode

Changes in version 1.0.3: by [player]Foxglove[/player]
- Added option in the left menu to specify behavior of the self/team checkbox: original or persistent

Changes in version 1.0.2: by [player]Foxglove[/player]
- Added option in the left menu to specify initial positioning of the chatglove: original or detached[/spoiler]

How do I use this?
  • Click the "detach chat" link located to the upper-right of the game chat log
  • Resize the window by clicking and dragging the bottom-right corner
  • Reposition the window by clicking and dragging the header bar
  • PROFIT!
  • (Click the "restore" link to return the chat log to its previous page position)
  • Check the "Options" in the menu

Detach link:

Image

chatglove in action!:

[bigimg]http://i118.photobucket.com/albums/o118/foxglovve/cg2-1.jpg[/bigimg]

chatsniffer from the My Games page:

Image

Multitudinous menu options:

Image
User avatar
RobbieDub
Posts: 433
Joined: Fri Aug 21, 2009 1:12 am
Gender: Male
Location: Salt Spring Island

Re: Script: Chatglove - Version 1.8.1

Post by RobbieDub »

I've switched to panels and the one thing I miss is the chatsniffer aspect of chatglove that just doesn't seem to be working right in conjunction with the panels. Is there any chance that aspect of chatglove can be improved or incorporated with panels?
Highest Rank Colonel with 2932
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.1

Post by dgz345 »

RobbieDub wrote:I've switched to panels and the one thing I miss is the chatsniffer aspect of chatglove that just doesn't seem to be working right in conjunction with the panels. Is there any chance that aspect of chatglove can be improved or incorporated with panels?


Hmm was working before I went back to work in Norway.
It should work. I'll be back in Sweden the 29th. I can look at it then when I have a computer. It should be easy fixable.
The console log should say what's wrong. But yea it will be fixed in 2 weeks.
User avatar
Lindax
Tournament Director
Tournament Director
Posts: 11207
Joined: Sun Jan 20, 2008 12:58 pm
Location: Paradise Rediscovered

Re: Script: Chatglove - Version 1.8.1

Post by Lindax »

In panel mode I can't detach the chat at all....

Lx
"Winning Solves Everything" - Graeko
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.1

Post by dgz345 »

Lindax wrote:In panel mode I can't detach the chat at all....

Lx


I just tried and I was able to detach. Chrome android.
Could be that u are using FF 31
User avatar
Lindax
Tournament Director
Tournament Director
Posts: 11207
Joined: Sun Jan 20, 2008 12:58 pm
Location: Paradise Rediscovered

Re: Script: Chatglove - Version 1.8.1

Post by Lindax »

dgz345 wrote:
Lindax wrote:In panel mode I can't detach the chat at all....

Lx


I just tried and I was able to detach. Chrome android.
Could be that u are using FF 31


Indeed.

Lx
"Winning Solves Everything" - Graeko
User avatar
RobbieDub
Posts: 433
Joined: Fri Aug 21, 2009 1:12 am
Gender: Male
Location: Salt Spring Island

Re: Script: Chatglove - Version 1.8.1

Post by RobbieDub »

Hello,
I'm using Forefox 31 on Mac with panels and the Game Chat indicator always resets to every game having new chats when I log in. Is there a way to fix this?
Thanks, rob
Highest Rank Colonel with 2932
Image
User avatar
RobbieDub
Posts: 433
Joined: Fri Aug 21, 2009 1:12 am
Gender: Male
Location: Salt Spring Island

Re: Script: Chatglove - Version 1.8.1

Post by RobbieDub »

still hoping you can update this script to make the chatsniffer remember which chats I have already read.
Highest Rank Colonel with 2932
Image
User avatar
RobbieDub
Posts: 433
Joined: Fri Aug 21, 2009 1:12 am
Gender: Male
Location: Salt Spring Island

Re: Script: Chatglove - Version 1.8.2

Post by RobbieDub »

I switch to chrome on my mac in the hopes that this tool would work but it doesn't seem to be functioning here either and I am the only one talking on this thread so maybe I'm the only one that likes this plugin and I should just give it up oh well this is my last try
Highest Rank Colonel with 2932
Image
User avatar
Swimmerdude99
Posts: 2580
Joined: Mon Aug 09, 2010 6:07 pm
Gender: Male
Location: North Carolina

Re: Script: Chatglove - Version 1.8.2

Post by Swimmerdude99 »

I like it, and it won't work for me anymore :(
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.2

Post by dgz345 »

swimmerdude99 wrote:I like it, and it won't work for me anymore :(


whats not working and how does it not work? it should be working
User avatar
Swimmerdude99
Posts: 2580
Joined: Mon Aug 09, 2010 6:07 pm
Gender: Male
Location: North Carolina

Re: Script: Chatglove - Version 1.8.2

Post by Swimmerdude99 »

dgz345 wrote:
swimmerdude99 wrote:I like it, and it won't work for me anymore :(


whats not working and how does it not work? it should be working

I actually just uninstalled and reinstalled and it may be working now... beforehand the chat would show new chat but then there wouldn't be any new chat. And I don't clear cookies or cache so I know that wasn't the issue
Image
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.2

Post by dgz345 »

swimmerdude99 wrote:
dgz345 wrote:
swimmerdude99 wrote:I like it, and it won't work for me anymore :(


whats not working and how does it not work? it should be working

I actually just uninstalled and reinstalled and it may be working now... beforehand the chat would show new chat but then there wouldn't be any new chat. And I don't clear cookies or cache so I know that wasn't the issue


okay good to know!
User avatar
Doc_Brown
Posts: 1323
Joined: Tue Sep 29, 2009 6:06 pm
Gender: Male

Re: Script: Chatglove - Version 1.8.3

Post by Doc_Brown »

Not so sure about this latest update. That blue asterisk is really tough to see. How about a white chat icon like this:
Image
(sized down quite a bit of course)
Image
User avatar
IcePack
Multi Hunter
Multi Hunter
Posts: 16847
Joined: Wed Aug 04, 2010 6:42 pm
Gender: Male
Location: California

Re: Script: Chatglove - Version 1.8.3

Post by IcePack »

Is there a way to make it ignore the snap's from you / teammates so its not constantly saying theres chat when its just snaps?
Image

fac vitam incredibilem memento vivere
Knowledge Weighs Nothing, Carry All You Can
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.3

Post by dgz345 »

IcePack wrote:Is there a way to make it ignore the snap's from you / teammates so its not constantly saying theres chat when its just snaps?
looks like that was already programmed for BOB snaps. but not for new panel snaps.

is anyone still using BOB?

You could change it by changing row 735 from

Code: Select all

 if(line.indexOf(": snap ::")>=0) {
to

Code: Select all

if(line.indexOf('class="snapshot"')>=0) {
Should maybe hopfully work :roll:
User avatar
IcePack
Multi Hunter
Multi Hunter
Posts: 16847
Joined: Wed Aug 04, 2010 6:42 pm
Gender: Male
Location: California

Re: Script: Chatglove - Version 1.8.3

Post by IcePack »

dgz345 wrote:
IcePack wrote:Is there a way to make it ignore the snap's from you / teammates so its not constantly saying theres chat when its just snaps?
looks like that was already programmed for BOB snaps. but not for new panel snaps.

is anyone still using BOB?

You could change it by changing row 735 from

Code: Select all

 if(line.indexOf(": snap ::")>=0) {
to

Code: Select all

if(line.indexOf('class="snapshot"')>=0) {
Should maybe hopfully work :roll:
Nope still seems to be picking up snaps, can't tell if its others or my own just yet
Image

fac vitam incredibilem memento vivere
Knowledge Weighs Nothing, Carry All You Can
User avatar
Extreme Ways
Posts: 1731
Joined: Sun Nov 19, 2006 10:02 am

Re: Script: Chatglove - Version 1.8.3

Post by Extreme Ways »

I personally either don't notice or don't have this problem. I'm on FF.
TOFU, ex-REP, ex-VDLL, ex-KoRT.
User avatar
IcePack
Multi Hunter
Multi Hunter
Posts: 16847
Joined: Wed Aug 04, 2010 6:42 pm
Gender: Male
Location: California

Re: Script: Chatglove - Version 1.8.3

Post by IcePack »

Extreme Ways wrote:I personally either don't notice or don't have this problem. I'm on FF.
I'm on chrome, and everytime the number slowly grows and i click it, just showing me snaps very rarely is it chat.
Image

fac vitam incredibilem memento vivere
Knowledge Weighs Nothing, Carry All You Can
User avatar
Extreme Ways
Posts: 1731
Joined: Sun Nov 19, 2006 10:02 am

Re: Script: Chatglove - Version 1.8.3

Post by Extreme Ways »

IcePack wrote:
Extreme Ways wrote:I personally either don't notice or don't have this problem. I'm on FF.
I'm on chrome, and everytime the number slowly grows and i click it, just showing me snaps very rarely is it chat.
I can attest that I havent had a number grow for Game 20699476 (CK's turn), but I do sometimes have random unreads of my own since I chatted in different tabs.

I also only have about 12 games going on so if I notice it's looking at games that dont have any new chat, I just mark all as read. Difficult to troubleshoot this is.
TOFU, ex-REP, ex-VDLL, ex-KoRT.
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.3

Post by dgz345 »

Well are anyone running old man BOBS? perhaps?
User avatar
Extreme Ways
Posts: 1731
Joined: Sun Nov 19, 2006 10:02 am

Re: Script: Chatglove - Version 1.8.3

Post by Extreme Ways »

I'm not using BOB, just panel interface.
TOFU, ex-REP, ex-VDLL, ex-KoRT.
User avatar
IcePack
Multi Hunter
Multi Hunter
Posts: 16847
Joined: Wed Aug 04, 2010 6:42 pm
Gender: Male
Location: California

Re: Script: Chatglove - Version 1.8.3

Post by IcePack »

No Bob here. Held on forever but now no
Image

fac vitam incredibilem memento vivere
Knowledge Weighs Nothing, Carry All You Can
User avatar
dgz345
Posts: 1363
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Chatglove - Version 1.8.3

Post by dgz345 »

quess ill have to check more when i have time...
User avatar
IcePack
Multi Hunter
Multi Hunter
Posts: 16847
Joined: Wed Aug 04, 2010 6:42 pm
Gender: Male
Location: California

Re: Script: Chatglove - Version 1.8.3

Post by IcePack »

Yeah, I'm still getting notified for both my and my teammates snaps, even after i viewed them both they both popped back up. It counts down from 2 to 1 temporarily, but then went back up to 2. same games, repeating. Not just these two like its a bug for these two games specifically, but using these two as examples. clearly only snaps are taking place, and they are returning without new snaps or chats on the game chat counter
Image

fac vitam incredibilem memento vivere
Knowledge Weighs Nothing, Carry All You Can
Post Reply

Return to “Third-Party Tools & Enhancements”