Comments (4)
Hey man,
here is a quick fix in case you don't want to wait until it's implemented in the actual add on.
Just go to your addons folder for your thunderbird profile, something like:
.thunderbird/<RANDOM_CHARS>.default/extensions
In case you are comfortable with vim you can just edit the file in place with vi [email protected]
.
If not you need to unzip the .xpi file, modify the files, zip them again and then drag and drop into thunderbird add-ons window (which installs the addon). Make sure to remove the old one before you install the modified version.
In a bash shell you can do the following:
unzip [email protected] -d code
cd code
and edit implementation.js as described belowzip -r ../new_version.zip *
- Go to thunderbird add-on page, remove the old add-on and install the new one by dragging and dropping the
new_version.zip
.
What you need to modify
The code you posted is already part of the extension. You can find it in the implementation.js file. The problem is the line below that:
win.goDoCommand("cmd_getMsgsForAuthAccounts");
Just comment out that line - looks like this for me:
Then reinstall the add-on and you should be good to go :)
Hope that helped :)
from tbkeys.
Hey man,
here is a quick fix in case you don't want to wait until it's implemented in the actual add on.
Just go to your addons folder for your thunderbird profile, something like:
.thunderbird/<RANDOM_CHARS>.default/extensions
In case you are comfortable with vim you can just edit the file in place with
vi [email protected]
.If not you need to unzip the .xpi file, modify the files, zip them again and then drag and drop into thunderbird add-ons window (which installs the addon). Make sure to remove the old one before you install the modified version.
In a bash shell you can do the following:1. `unzip [email protected] -d code` 2. `cd code` and edit implementation.js as described below 3. `zip -r ../new_version.zip *` 4. Go to thunderbird add-on page, remove the old add-on and install the new one by dragging and dropping the `new_version.zip`.
What you need to modify
The code you posted is already part of the extension. You can find it in the implementation.js file. The problem is the line below that:
win.goDoCommand("cmd_getMsgsForAuthAccounts");
Just comment out that line - looks like this for me:
Then reinstall the add-on and you should be good to go :)
Hope that helped :)
This should probably be on the README.md somewhere near "Common key bindings" as a way how to actually add custom bindings.
Thanks! It helped me to make several needed "Common key bindings" working =)
from tbkeys.
if (win.document.getElementById("tabmail").tabContainer.selectedIndex != 0) {
win.CloseTabOrWindow();
}
This piece of code works exactly what I want. I'd like to be included in tbkeys-lite. I have to use tbkeys at the moment and set key binding as the code above.
from tbkeys.
I would close the current tab like so.
window.document.getElementById('tabmail').closeTab();
Reference...
http://searchfox.org/comm-esr78/search?q=closeTab.aOptional®exp=true
from tbkeys.
Related Issues (20)
- [Question] End-of-line in composition HOT 2
- Can one do single key to multiple actions / commands? HOT 2
- Typing in quick-filter entry is broken (i.e. shortcuts are triggered instead) on 115 HOT 2
- [question] is there a command to enter settings? or even better to enter config editor? HOT 4
- Meta/WIN key not working on Linux HOT 1
- Allow use of function keys in compose window HOT 2
- Run stateful commands HOT 2
- plain key should not trigger main key bindings inside quick filter search and global search HOT 3
- Shortcuts not mapped on quick search box HOT 5
- MsgMoveMessage in V115 HOT 1
- Focus the message pane in V115 HOT 5
- [Question] Realize a shortcut, when there's no "cmd_***"? Example: HTML format "paragraph". HOT 16
- `func:MsgSortThreaded` results in `TypeError: win[cmdBody] is not a function` HOT 2
- vim visual line mode-like selection navigation HOT 5
- Allow a macro (i.e. sequence of commands) bound to a single key combination in tbkeys-lite
- Migrate settings HOT 3
- Is this repo still maintened yet? HOT 1
- Keys do not work on open email window HOT 5
- How to trigger fullscreen? HOT 3
- Unset "m" causes menu accelerator to fail HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tbkeys.