[0.3.3] Some client-side Shoutbox improvements. (Firefox only!) |
Author: |
Message: |
the DtTvB
Junior Member
Posts: 47 Reputation: 10
– / / –
Joined: Mar 2007
Status: Away
|
O.P. [0.3.3] Some client-side Shoutbox improvements. (Firefox only!)
* the DtTvB is not sure whether this forum is the right place to post or not.
Well,
I made some client-side improvements (a.k.a. userscripts)
to the shoutbox. To make this true, you need to have Greasemonkey, that is, available to Firefox users only.
Download Greasemonkey Extension for Firefox
Greasemonkey's work is to run the installed userscripts after the page loads.
0.3.3
Download the userscript (0.3.3).
Changelog:
code: // 0.3.3
// - Options accordion. Can be used to turn a feature on and off.
// - -dt-'s script compatibility mode
// (can be [en/dis]able via the options accordion)
// - Forced to be utf-8.
// 0.3.2
// - More timeouts for user to go away.
// - Better handling of commands.. For example:
// /test => "I am testing"
// is defined, if you type
// /test the shoutbox
// it will become I am testing the shoutbox.
// - Will no more allow /help to be sent via shoutbox.
// - Quick text box is moved to lower-left
// - Quick texts sliding...
// 0.3.2pre
// - Hidden feature requested by MeEtc.
0.3.1
Download the userscript (0.3.1).
Changelog for 0.3.1:
- Some commands will be sent using a standard way. For example, /theme.
- The menu popup should disappear when you click somewhere else.
[size=1]Now the size of the script gets to 15kb with 672 lines of code with more features...
Note: Please uninstall the older versions first before installing 0.3.0.
Changelog:
- When you click on a user's name, a popup menu will appear and let you quote, PM, or view the profile.
- Quick texts!!
Screenshots:
[/size]
0.2.1 (0.2.0 users, please redownload!)
Download the userscript (0.2.1).
Note: To toggle auto-refresh in this version, just click the old autorefresh button to turn it on (). Or it won't refresh anything.
Changelog:
- Fixed message sending bug where + is treated as a space (0.2.1)
- Used new way of parsing HTML. Now it uses range.createContextualFragment
- Uses XMLHttpRequest to send messages.
- More comments.
- Toasts! Now, toasts will pop-up when a user comes in to the shout box or exits.
Preview:
0.1.2
Download the userscript (0.1.2).
Note: To toggle auto-refresh in this version, just click the old autorefresh button to turn it on (). Or it won't refresh anything.
Changelog:
- Some fixes/improvements, thanks to WDZ.
- Added comments for larger filesize for the ease to edit.
- Changed the updating method. Won't affect the message entry box in any way.
0.1.0
Download the userscript.
Important! You need to turn off the original Auto-Refresh feature of the shoutbox before installation (make sure that the autorefresh button at the bottom is grayed like this: ), because this userscript includes the better version of the autorefresh.
This userscript makes following changes to the shoutbox:
- Auto-Focus: The message typing box will be focused by default.
You don't have to click on the input box in order to type anymore.
- Expanded Input: The input box is expanded to fit the window.
- The New Auto-Reload: This script includes the better version of the auto-reload feature. Please turn the original one off before installing this script. It uses XMLHTTPRequest to reload (a.k.a. AJAX, oops, AJAT), that means it will not reload the whole page, just the body section. This userscript reloads the page every 12.5 seconds, but it will look faster than the previous one!
This post was edited on 03-23-2007 at 05:30 PM by the DtTvB.
the DtTvB - My name has no meaning, but it's unique at least!
|
|
03-13-2007 03:57 PM |
|
|
John Anderton
Elite Member
Posts: 3908 Reputation: 80
37 / /
Joined: Nov 2004
Status: Away
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
Hmmm I may be wrong but isn't something like this already made by dt about a year and a half ago?
I cbf to read the source but I guess someone else could verify.
Anyway, I'm just here to tell you it need not be for firefox only. GM scripts can be ported to certain IE equivalents
[
KarunAB.com]
[img]http://gamercards.exophase.com/459422.png[
/img]
|
|
03-13-2007 04:02 PM |
|
|
MeEtc
Patchou's look-alike
In the Shadow Gallery once again
Posts: 2200 Reputation: 60
38 / /
Joined: Nov 2004
Status: Away
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
http://svn.thedt.net slash something, but the site seems to be missing ATM...
I cannot hear you. There is a banana in my ear.
|
|
03-13-2007 04:09 PM |
|
|
the DtTvB
Junior Member
Posts: 47 Reputation: 10
– / / –
Joined: Mar 2007
Status: Away
|
O.P. RE: RE: Some client-side Shoutbox improvements. (Firefox only!)
quote: Originally posted by John Anderton
Hmmm I may be wrong but isn't something like this already made by dt about a year and a half ago?
I don't know. I am too new to this forum!
quote: Originally posted by John Anderton
Anyway, I'm just here to tell you it need not be for firefox only. GM scripts can be ported to certain IE equivalents
This userscript uses many things that IE doesn't support.
- Well, let's see... First, I used window.XMLHttpRequest, which will not work only on IE. (In other browsers, it works)
- It also uses selectionStart and selectionEnd, that is not compatible with IE also. It works on Firefox and Opera 8+ [source].
the DtTvB - My name has no meaning, but it's unique at least!
|
|
03-13-2007 04:20 PM |
|
|
haydos
Veteran Member
dirty dirty house music
Posts: 1026 Reputation: 49
– / /
Joined: Dec 2004
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
I'll definitely use it, dt's script seems to have a few issues with my computer. Nice job mate.
quote: Originally posted by WDZ
don't be lazy
|
|
03-13-2007 06:07 PM |
|
|
prashker
Veteran Member
Posts: 5109 Reputation: 104
– / / –
Joined: Mar 2005
Status: Away
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
Cool, great thanks ;>
|
|
03-13-2007 06:16 PM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
dt's has even more functionality though =(
|
|
03-13-2007 07:14 PM |
|
|
L. Coyote
Senior Member
Captain Obvious
Posts: 981 Reputation: 49
39 / /
Joined: Aug 2004
Status: Away
|
|
03-13-2007 07:21 PM |
|
|
Thor
Veteran Member
Awwwwwwww.
Posts: 1118 Reputation: 42
32 / – /
Joined: May 2006
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
Bug: I have to press enter twice to send the message.
|
|
03-13-2007 08:16 PM |
|
|
prashker
Veteran Member
Posts: 5109 Reputation: 104
– / / –
Joined: Mar 2005
Status: Away
|
RE: Some client-side Shoutbox improvements. (Firefox only!)
quote: Originally posted by Nitro
Bug: I have to press enter twice to send the message.
Lies.
|
|
03-13-2007 08:43 PM |
|
|
Pages: (7):
« First
[ 1 ]
2
3
4
5
»
Last »
|
|