What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » [0.3.3] Some client-side Shoutbox improvements. (Firefox only!)

Pages: (7): « First « 1 [ 2 ] 3 4 5 6 » Last »
[0.3.3] Some client-side Shoutbox improvements. (Firefox only!)
Author: Message:
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
32 / – / Flag
Joined: May 2006
RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by SonicSam
    Originally posted by Nitro
    Bug: I have to press enter twice to send the message. (Smilie)
It's true. :cry:
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
03-13-2007 08:46 PM
Profile PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: Some client-side Shoutbox improvements. (Firefox only!)
Disable + Renable the Greasemonkey script?
03-13-2007 08:47 PM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Some client-side Shoutbox improvements. (Firefox only!)
lol im just gonna use dt's one...
03-13-2007 08:48 PM
Profile PM Find Quote Report
EBFL
Full Member
***

Avatar
;o

Posts: 486
Reputation: 67
32 / Male / Flag
Joined: Oct 2006
RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by Nitro
Bug: I have to press enter twice to send the message. :-/
Same :sad:

This post was edited on 03-13-2007 at 09:18 PM by EBFL.
I'm awesome

03-13-2007 09:18 PM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Some client-side Shoutbox improvements. (Firefox only!)
How confusing, two people named DT making GM scripts for the shoutbox. :P

-dt-'s script seems to have some unresolved issues though, so maybe it's good to have competition. 8-)

quote:
Originally posted by the DtTvB
(Firefox only!)
Actually, it works in Opera too. :cheesy: See http://opera.com/support/tutorials/userjs/examples/#greasemonkey

I have a few suggestions though...

1) The include/exclude code could be improved. Here's what I'm using...
code:
// @include        msghelp.net/shoutbox.php*
// @include        *.msghelp.net/shoutbox.php*
// @exclude        *action=stats*
// @exclude        *action=edit*
To exclude pages > 1, this should do the trick...
code:
var linktags = document.getElementsByTagName('link');
for(var i=0; i<linktags.length; i++) {
    if(linktags[i].rel == 'prev') return;
}
And to exclude other pages like theme, help, error, etc.
code:
if(typeof(document.msgform) == 'undefined') return;
2) It would be nice to have a switch to toggle the refresh on and off.

3) The refresh shouldn't touch the message field at all, it should just replace the shouts and the users online. I noticed that the refresh can interrupt my typing. :sad:

I'll probably post more suggestions/bugs later. :P

This post was edited on 03-13-2007 at 10:54 PM by WDZ.
03-13-2007 10:48 PM
Profile PM Web Find Quote Report
Lou
Veteran Member
*****

Avatar

Posts: 2475
Reputation: 43
– / Male / Flag
Joined: Aug 2004
RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by WDZ
...
OR, you could make the refresh better for your shoutbox to fix a few of these annoying things :P
[Image: msghelp.net.png]
The future holds bright things in it\\\'s path, but only time will tell what they are and where they come from.
Messenger Stuff Forums
03-14-2007 12:28 AM
Profile PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by .Lou
OR, you could make the refresh better for your shoutbox to fix a few of these annoying things :P
Shh, I hate Javascript so I'm trying to get someone else to do the coding for me. =o

:P
03-14-2007 12:38 AM
Profile PM Web Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
32 / – / Flag
Joined: May 2006
RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by WDZ

Shh, I hate Javascript so I'm trying to get someone else
Well, atleast implent it in the shoutbox then. :p
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
03-14-2007 12:40 AM
Profile PM Web Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by Nitro
Bug: I have to press enter twice to send the message. :-/
Well, then I don't really know. I think the input box is focused already, so this shouldn't happen. I will try to find some workaround.

quote:
Originally posted by WDZ
How confusing, two people named DT making GM scripts for the shoutbox. :P
All I can say is.... :S

quote:
Originally posted by WDZ
Actually, it works in Opera too. :cheesy: See http://opera.com/support/tutorials/userjs/examples/#greasemonkey
Really, I think my code is only work on Firefox based. Thanks for telling. But I am sure not for IE.

quote:
Originally posted by WDZ
I have a few suggestions though...
OK, I will try to do it..

quote:
Originally posted by WDZ
3) The refresh shouldn't touch the message field at all, it should just replace the shouts and the users online. I noticed that the refresh can interrupt my typing. :sad:
Another strange problem.
Before it reloads, it save the message field's value, selection position, and restore it after the reload has finished. I should match things better.

quote:
Originally posted by WDZ
I'll probably post more suggestions/bugs later. :P
That would be very good! Thanks for all suggestions and bug reports.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-14-2007 01:54 AM
Profile E-Mail PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by vaccination
dt's has even more functionality though =(
And works great without any problems for me. I've been using them since he released 'em :P
dt's svn is currently down to a certain "problem" and shall be back up soon (hopefully :)) Once it is, I'm sure people can see his work as well :)
For me his code works without any problems cause if they have problems I trouble him till he fixes it :refuck: (yes he is lazier than WDZ :sad:)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
03-14-2007 03:19 AM
Profile E-Mail PM Web Find Quote Report
Pages: (7): « First « 1 [ 2 ] 3 4 5 6 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On