Comments (4)
Remember to remove the newline characters in custom commands so the input is a valid JSON string.
Troubleshooting
http://forums.mozillazine.org/viewtopic.php?p=14872763#p14872763
Online Multiline to Single Line Converter
http://tools.knowledgewalls.com/online-multiline-to-single-line-converter
from tbkeys.
Are you asking for a code snippet to open the config manager?
Try this:
(function () {
var win = window.Services.wm.getMostRecentWindow('mail:3pane');
var tabmail = win.document.getElementById('tabmail');
for (var tabInfo of tabmail.tabInfo) {
var tab = tabmail.getTabForBrowser(tabInfo.browser);
if (tab && tab.urlbar && tab.urlbar.value == 'about:config') {
tabmail.switchToTab(tabInfo);
return;
}
}
tabmail.openTab('contentTab', {url: 'about:config'});
})();
You cannot run arbitrary javascript with tbkeys-lite.
There is a tbkeys.xpi link on the GitHub releases page.
Reference
http://searchfox.org/comm-esr115/search?q=showConfigEdit
You can use the config button as an alternative.
Config Button
http://addons.thunderbird.net/thunderbird/addon/987784
from tbkeys.
I'm new to tbkeys so I didn't new I was asking for this but apparently I did ;-) Thank you.
So I 've installed non-lite version, entered settings and in "Main key bindings" I've entered this content:
{
"j": "(function () {
var win = window.Services.wm.getMostRecentWindow('mail:3pane');
var tabmail = win.document.getElementById('tabmail');
for (var tabInfo of tabmail.tabInfo) {
var tab = tabmail.getTabForBrowser(tabInfo.browser);
if (tab && tab.urlbar && tab.urlbar.value == 'about:config') {
tabmail.switchToTab(tabInfo);
return;
}
}
tabmail.openTab('contentTab', {url: 'about:config'});
})();"
}
but it highlights itself wit red color red and I cannot save it.
What am I missing?
from tbkeys.
@morat523035 thank you a lot!
Oneliner solve problem. Also accessing cofing editor helps a lot! Thanks again! 🌞
from tbkeys.
Related Issues (20)
- 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
- Command to open Addons - Extensions tab HOT 2
- How to remove default tbkeys-lite keybindings HOT 6
- A command of a contextual menu item HOT 6
- The add-on is disabled on TB 128.0esr HOT 3
- TB v.128 HOT 2
- tbkeys captures the keyboard input in the quick filter fields in TB128.0esr HOT 2
- Recover settings from disabled add-on. HOT 13
- Keybinding sets starting with Gmail, and a place to share setups
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.