Hey there,
I've set up Thunderbird to sort all my e-mails by date and threads, and it works great; except, every now and again I'll accidentally miss the top message in the list and end up resetting my sort preferences.
Is there any sort of "sorting lock" feature available? If not, could one be implemented?
asbo
Lock Column Sorting
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK
You can use the userChrome.js extension, with a script like:
Code: Select all
addEventListener(
"click",
function (event) {
if (!event.shiftKey) with (event.target)
if (localName == "treecol"
&& parentNode.parentNode.id == "threadTree")
event.stopPropagation()
},
true
)
Last edited by Rod Whiteley on February 4th, 2007, 3:38 pm, edited 1 time in total.
Rod
-
- Guest
@Rod
That works great Thanks so much
I was playing with the code a bit, trying to implement a circumvention of stopPropogation() if I was doing a SHIFT-click, but being entirely unfamiliar with Javascript and the innards of Thunderbird, I have no clue how I might do that. Inserting the line "
if (event.keyCode) alert(event.keyCode)" within the IF statement yielded no results. Could someone point me in the right direction?
Thanks!
That works great Thanks so much
I was playing with the code a bit, trying to implement a circumvention of stopPropogation() if I was doing a SHIFT-click, but being entirely unfamiliar with Javascript and the innards of Thunderbird, I have no clue how I might do that. Inserting the line "
if (event.keyCode) alert(event.keyCode)" within the IF statement yielded no results. Could someone point me in the right direction?
Thanks!
- Rod Whiteley
- Posts: 11480
- Joined: December 6th, 2004, 3:41 am
- Location: UK
-
- Guest
-
- Posts: 1
- Joined: April 2nd, 2012, 3:53 am
Re: Lock Column Sorting
@Rod
Hello Rod! Would you update MailTweak to the version that supports Thunderbird 11.
Hello Rod! Would you update MailTweak to the version that supports Thunderbird 11.
- James
- Moderator
- Posts: 27999
- Joined: June 18th, 2003, 3:07 pm
- Location: Made in Canada
Re: Lock Column Sorting
ElijahHu wrote:@Rod
Hello Rod! Would you update MailTweak to the version that supports Thunderbird 11.
See this thread. viewtopic.php?f=48&t=599803
Locking due to old age.