MozillaZine

new TB extension: control shift-del behaviour

Talk about add-ons and extension development.
drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted August 24th, 2004, 3:07 pm

It happened to me several times when i removed by mistake an important mail. So i built this. U can make shift-delete work as usuall, as regular delete or disable it at all. Further development will include "smart" mode which will ask if you are trying to shift-del more than specified amount of messages, configurable by the user.

I tested it on TB 0.7.3.
It's my first extension, so if anyone has a improvement/coding/etc suggestions i'll most appreciate it.

http://jtranslit.sourceforge.net/shiftd ... ol_0.1.xpi

enjoy
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted September 4th, 2004, 12:28 am

I've put a new version there, which enables to ask for user confirmation if more than X messages are going to be purged. (X is configurable via preferences).

Download:
http://jtranslit.sourceforge.net/shiftd ... ol_0.2.xpi
Screen of prefereces dilaog:
http://jtranslit.sourceforge.net/preferences.jpg

I have no more plans for this extension, but please feel free to comment/ask for more fatures.
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

alki
 
Posts: 5
Joined: September 19th, 2004, 12:33 am

Post Posted September 19th, 2004, 9:25 pm

What about having a confirmation message when deleting one message ?
Setting "More than x messages" option to 0 doesn't work

Elez
 
Posts: 15
Joined: September 20th, 2004, 2:03 am

Post Posted September 20th, 2004, 2:13 am

Yes, that's basically the only thing missing in this extention.
I could really use such a feature and I'm sure I'm not the only one.
Adding it would be greatly appreciated :)

Thanks,
Elez J. Shenhar

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted September 21st, 2004, 1:51 am

thanks for the comment, i didn't check if with 0 value. Will fix asap!
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted September 21st, 2004, 11:07 am

bug fixed, version is now 0.2a. I'm talking with mozdev to put the extension there.

Download:
http://jtranslit.sourceforge.net/shiftd ... l_0.2a.xpi
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

Elez
 
Posts: 15
Joined: September 20th, 2004, 2:03 am

Post Posted September 21st, 2004, 11:52 am

It's working:)
Thanks a lot!

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted September 24th, 2004, 8:06 am

Well, now the extension lives on mozdev.org, go:

http://purgecontrol.mozdev.org/index.html
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted December 8th, 2004, 12:42 am

There's now 0.2c version on mozdev, which supports Thunderbird 1.0. Enjoy

http://purgecontrol.mozdev.org/index.html
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

jensb

User avatar
 
Posts: 544
Joined: April 23rd, 2003, 12:42 pm
Location: Germany

Post Posted December 8th, 2004, 3:46 am

I'd recommend using the official extension version format, as specified by mozilla.org: major[.minor[.release[.build]]], where major/minor/release/build are integers, e.g. "0.1", "1.0.0.20041207" or "0.5.6". Using "0.2c" might break the extension manager some time, and won't be accepted by update.mozilla.org.
Mouse Gestures - control your browser the elegant way
MessageFaces - embed pictures in mail header

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted December 9th, 2004, 2:39 am

thanks, can you please give me link to document where it's explained?
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

jensb

User avatar
 
Posts: 544
Joined: April 23rd, 2003, 12:42 pm
Location: Germany

Post Posted December 9th, 2004, 4:54 am

Sure: http://www.mozilla.org/projects/firefox ... sions.html , chapter "Firefox Version Format" way down the page. Although the page fails to mention the build number (fourth part), it's official, too.
Mouse Gestures - control your browser the elegant way
MessageFaces - embed pictures in mail header

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted January 21st, 2005, 2:22 am

new version is available om nozdev: 0.2.4
http://downloads.mozdev.org/purgecontro ... _0.2.4.xpi

Changelog:
* using my own dialog window which has "NO" as default button
* version numbering copatible with mozilla update
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

RDL
 
Posts: 1258
Joined: August 22nd, 2004, 1:39 am

Post Posted January 21st, 2005, 1:22 pm

drakosha wrote: * using my own dialog window which has "NO" as default button
* version numbering copatible with mozilla update


I installed this, for which thanks, over the previous version but the default button appears to be "YES".

Actually, I think I prefer that but after I make a mistake I might change my mind. How about letting the user choose (options) which button should be the default?

Thanks again, this is a really helpful extension. RDL

drakosha

User avatar
 
Posts: 37
Joined: August 19th, 2004, 9:19 am

Post Posted January 21st, 2005, 3:37 pm

RDL: thanks, i'll do it in the next version. And i'll recheck, the default supposed to be "No"
Jabber me: chesercat@jabber.org

<a href="http://purgecontrol.mozdev.org/">purgecontrol.mozdev.org</a>
<a href="http://linux4all.blogsome.com/">linux4all</a>

Return to Extension Development


Who is online

Users browsing this forum: Google [Bot] and 1 guest