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 7 » Last »
[0.3.3] Some client-side Shoutbox improvements. (Firefox only!)
Author: Message:
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by John Anderton
dt's svn is currently down to a certain "problem" and shall be back up soon (hopefully :))

After browsing through -dt-'s random stuff server, I think I have found it. -dt- has a lot of techniques I haven't know.
I'll try to learn more techniques.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-14-2007 05:43 AM
Profile E-Mail PM Web Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!)
That's an old version (24-Jan-2006). Here's a copy from a month ago: http://shoutbox.menthix.net/crap/shoutboxbetterrefresh.user.js

I'm not sure if -dt- has updated it since then... :^)
03-14-2007 05:54 AM
Profile PM Web Find Quote Report
Joa
The dodgiest member
****

Avatar

Posts: 799
Reputation: 102
117 / Female / Flag
Joined: Feb 2005
Status: Away
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by the DtTvB
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.

i guess my problem is something like wdz's .... it's not just that it disrupts my typing in the message box, it "steals" the focus every time the shouts refreshes. i mean say i'm typing something in the search bar in ff, the cursor goes back to the message box at each refresh while i'm typing.

is it possible to do something that it doesn't steal focus when i'm typing outside of the message box... but have the shoutbox page open?
:bow: gif :bow: <3   

spam.


03-14-2007 06:04 AM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by the DtTvB
quote:
Originally posted by John Anderton
dt's svn is currently down to a certain "problem" and shall be back up soon (hopefully :))

After browsing through -dt-'s random stuff server, I think I have found it. -dt- has a lot of techniques I haven't know.
I'll try to learn more techniques.
svn.thedt.net > * > random.thedt.net

hmm i think that is that latest DZ ;)
03-14-2007 06:04 AM
Profile PM Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: [0.2.0] Some client-side Shoutbox improvements. (Firefox only!)
The code updated to 0.2.0 0.2.1! - See the first post for details.

0.2.1 includes some bugfix. Please redownload if you are using 0.1.2 or 0.2.0!

After digging through the XUL Planet, I found new way to parse for HTML, which works great.

It's called something like createContextualFragment.
That makes it possible to detect the users that goes out or comes in.

And the new feature is it uses XMLHttpRequest to send the message also!

This post was edited on 03-14-2007 at 11:36 AM by the DtTvB.
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-14-2007 08:23 AM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
You have a typo: It shouldn't be "user has exit the shoutbox" but "user has left the shoutbow" ;)
YouTube closed-captions ripper (also allows you to download videos!)
03-14-2007 12:35 PM
Profile E-Mail PM Web Find Quote Report
Kenji
Veteran Member
*****

Avatar
Previously: Dazmatic, Dazzy, :zippy:

Posts: 1226
Reputation: 39
32 / Male / Flag
Joined: Jun 2006
Status: Away
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by Mike
You have a typo: It shouldn't be "user has exit the shoutbox" but "user has left the shoutbow" ;)
shoutbox*

* Kenji runs

dt's works fine for me... if i could use them both, i would. But your one stops dt's from working properly...
03-14-2007 12:38 PM
Profile PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
35 / Male / Flag
Joined: Jan 2006
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
Could someone correct me if I'm wrong but doesn't the who's online section of the shoutbox rely on a timer before the person's name disappears which means that the toast style message could be up to 15 minutes slow?  I would like to know that I'm wrong.

Anyway, I might give this a try later on because dt's script has some problems with the edit, theme and help pages atm with the refresh (I wouldn't mind the delete links script to work either 8-)).

Anyway, this might make dt try a little harder, still quite nice to see someone giving it a go (Y)
[Image: markee.png]
03-14-2007 12:53 PM
Profile PM Find Quote Report
the DtTvB
Junior Member
**


Posts: 47
Reputation: 10
– / Male / –
Joined: Mar 2007
Status: Away
O.P. RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by Dazmo
dt's works fine for me... if i could use them both, i would. But your one stops dt's from working properly...

Can you give me the link to -dt-'s script so I can detect what makes -dt-'s to stop working.

quote:
Originally posted by markee
Could someone correct me if I'm wrong but doesn't the who's online section of the shoutbox rely on a timer before the person's name disappears which means that the toast style message could be up to 15 minutes slow?

It's up to the forum system. You'll have to wait for some staff to answer. :P
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-14-2007 01:08 PM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by the DtTvB


Can you give me the link to -dt-'s script so I can detect what makes -dt-'s to stop working.
simple, mine hooks a bunch of things like the sbRefresh function and can disable/enable its self depending on if the refresh is enabled :P

quote:
Originally posted by markee
Anyway, I might give this a try later on because dt's script has some problems with the edit, theme and help pages atm with the refresh (I wouldn't mind the delete links script to work either (Smilie)).

Anyway, this might make dt try a little harder, still quite nice to see someone giving it a go (Smilie)
=p

quote:
Originally posted by NanaFreak
quote:
Originally posted by the DtTvB
quote:
Originally posted by John Anderton
dt's svn is currently down to a certain "problem" and shall be back up soon (hopefully :))

After browsing through -dt-'s random stuff server, I think I have found it. -dt- has a lot of techniques I haven't know.
I'll try to learn more techniques.
svn.thedt.net > * > random.thedt.net

hmm i think that is that latest DZ ;)
yes but svn.thedt.net is down for a bit (discussing stuff with dreamhost =p), random.thedt.net is _old_ stuff

quote:
Originally posted by the DtTvB
    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. (Smilie)


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.
wow thats messy :-/, why dont you use xpaths to find the table and just replace the shout table + online users :-/


mine creates an iframe, forces it to load the shoutbox (with protections against infinite loops) then once the iframe has fully rendered it uses an xpath to find the table + online users and copies the node from the iframe document to main one.

less jumpyness and a more natural look : >
[Image: dt2.0v2.png]      Happy Birthday, WDZ
03-14-2007 01:58 PM
Profile PM Web Find Quote Report
Pages: (7): « First « 1 2 [ 3 ] 4 5 6 7 » 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