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!)

[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.2.1] Some client-side Shoutbox improvements. (Firefox only!)
quote:
Originally posted by -dt-
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

In my script, it completely disable the sbRefresh function, but edit the behavior of rfSwitch to call my reload function.

quote:
Originally posted by -dt-
wow thats messy :-/, why dont you use xpaths to find the table and just replace the shout table + online users :-/

That code was removed since 0.1.2! :P
Since 0.1.2, the script will kist replace the shout+online users.

And I am not good at XPaths. ;)

quote:
Originally posted by -dt-
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 : >

Since 0.2.0, it uses DocumentFragment to parse the HTML.

code:
var range = document.createRange();
range.selectNode (node);
var documentFragmentObject = range.createContextualFragment(htmlCode);

And it works really fine!

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Off-Topic!

I made another userscript for the forum.
This script improves the BBCode function.

- You won't lose your selection when you click on a button, so you can click B, I, U, Center without re-select the text everytime.
- The textarea won't scroll up anymore so you don't have to scroll down if you have typed long.
- Some hotkeys. ;)
    - Ctrl+B - Bold
    - Ctrl+I - Italic
    - Ctrl+U - Underline
    - Ctrl+L - Left
    - Ctrl+E - Center
    - Ctrl+R - Right

URL: http://dttvb.yi.org/msg-edit.user.js
the DtTvB - My name has no meaning, but it's unique at least!
[Image: asj.gif]
03-14-2007 02:36 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-13-2007 at 03:57 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by John Anderton on 03-13-2007 at 04:02 PM
RE: RE: Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-13-2007 at 04:20 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by MeEtc on 03-13-2007 at 04:09 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by haydos on 03-13-2007 at 06:07 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by prashker on 03-13-2007 at 06:16 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by vaccination on 03-13-2007 at 07:14 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by L. Coyote on 03-13-2007 at 07:21 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by Thor on 03-13-2007 at 08:16 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by prashker on 03-13-2007 at 08:43 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by Thor on 03-13-2007 at 08:46 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by prashker on 03-13-2007 at 08:47 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by NanaFreak on 03-13-2007 at 08:48 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by EBFL on 03-13-2007 at 09:18 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by WDZ on 03-13-2007 at 10:48 PM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by Lou on 03-14-2007 at 12:28 AM
RE: RE: Some client-side Shoutbox improvements. (Firefox only!) - by WDZ on 03-14-2007 at 12:38 AM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by Thor on 03-14-2007 at 12:40 AM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-14-2007 at 01:54 AM
RE: Some client-side Shoutbox improvements. (Firefox only!) - by John Anderton on 03-14-2007 at 03:19 AM
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-14-2007 at 05:43 AM
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!) - by WDZ on 03-14-2007 at 05:54 AM
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!) - by Joa on 03-14-2007 at 06:04 AM
RE: [0.1.2] Some client-side Shoutbox improvements. (Firefox only!) - by NanaFreak on 03-14-2007 at 06:04 AM
RE: [0.2.0] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-14-2007 at 08:23 AM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by Mike on 03-14-2007 at 12:35 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by Kenji on 03-14-2007 at 12:38 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by markee on 03-14-2007 at 12:53 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-14-2007 at 01:08 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by -dt- on 03-14-2007 at 01:58 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-14-2007 at 02:36 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by Jimbo on 03-14-2007 at 04:23 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by Thor on 03-14-2007 at 05:55 PM
RE: RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by WDZ on 03-14-2007 at 07:26 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by Oxy on 03-14-2007 at 08:10 PM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-15-2007 at 09:36 AM
RE: [0.2.1] Some client-side Shoutbox improvements. (Firefox only!) - by prashker on 03-15-2007 at 10:27 AM
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-15-2007 at 11:44 AM
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!) - by prashker on 03-15-2007 at 06:14 PM
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!) - by Thor on 03-15-2007 at 06:39 PM
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!) - by MeEtc on 03-15-2007 at 06:58 PM
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!) - by prashker on 03-15-2007 at 07:02 PM
RE: [0.3.0] Some client-side Shoutbox improvements. (Firefox only!) - by Lou on 03-15-2007 at 09:07 PM
RE: [0.3.1] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-16-2007 at 01:52 AM
RE: [0.3.1] Some client-side Shoutbox improvements. (Firefox only!) - by Lou on 03-16-2007 at 10:20 AM
RE: [0.3.1] Some client-side Shoutbox improvements. (Firefox only!) - by J.J on 03-16-2007 at 11:07 AM
RE: [0.3.7] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-17-2007 at 10:12 AM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by Nathan on 03-17-2007 at 10:34 AM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by Jimbo on 03-17-2007 at 12:17 PM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by EBFL on 03-17-2007 at 01:35 PM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by Lou on 03-18-2007 at 02:05 AM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by L. Coyote on 03-18-2007 at 05:14 AM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by duck! on 03-18-2007 at 08:53 PM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by Oxy on 03-19-2007 at 08:38 PM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by WDZ on 03-22-2007 at 12:17 AM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by MeEtc on 03-22-2007 at 12:28 AM
RE: [0.3.2] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-23-2007 at 04:44 PM
RE: [0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-23-2007 at 05:32 PM
RE: [0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by Felu on 03-23-2007 at 05:37 PM
RE: [0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by the DtTvB on 03-24-2007 at 02:24 PM
RE: [0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by Nathan on 03-26-2007 at 12:27 PM
RE: [0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by Lou on 04-07-2007 at 02:52 PM
RE: [0.3.3] Some client-side Shoutbox improvements. (Firefox only!) - by Felu on 04-07-2007 at 05:30 PM


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