Comments (13)
Thank you for your hard work and dedication to open-source software it is greatly appreciated. Thank you for making email management even easier!
from tbkeys.
Try this:
"ctrl+h": "window.gTabmail.currentAboutMessage.LoadMsgWithRemoteContent();"
Remember to select a message with blocked remote content before running that command.
Troubleshooting
http://forums.mozillazine.org/viewtopic.php?p=14872763#p14872763
from tbkeys.
"ctrl+h": "(function () {window.gTabmail.currentAboutMessage.LoadMsgWithRemoteContent(); window.content.focus();});"
Here I think the issue might have been a missing (
-- you have an unmatched )
at the end. I think the end should be ()
.
from tbkeys.
I would also love to know if there is a command for this.
When first installing tbkeys-lite a year or two back, could not track it down. Ended up having to hack together an AutoHotkey shortcut that sends the literal keypresses, so when I use Alt + C in mail reader window it sends the key sequence exactly as if you were pressing Alt + O (opens options menu from button) then S (selects and runs the Show Remote Content entry).
It works, but feels hacky compared to knowing the TB internal command. And of course it's Windows only, since afaik there is no AHK for Mac or Linux...
Here is my AHK code in case it's helpful to others until someone sorts out the internal TB command:
;### ThunderbirdDone fixes
; Show Remote Contect shortcut to Thunderbird
#IfWinActive ahk_exe thunderbird.exe
; alt + c
!c:: ; Thunderbird Show Remote Content
Send {Alt down}o{Alt up}s
return
;### END: Thunderbird fixes
from tbkeys.
It appears that once upon a time, TB had an internal command to do this:
LoadMsgWithRemoteContent
http://kb.mozillazine.org/Keyconfig_extension:_Thunderbird
...however sadly, this does not appear to work w/ current TB versions :(
from tbkeys.
The following command works with the error console.
window.LoadMsgWithRemoteContent();
Are you using tbkey or tbkeys-lite?
You cannot run arbitrary javascript with tbkeys-lite.
There is a tbkeys.xpi link on the GitHub releases page.
from tbkeys.
Well would you look at that, it works great in console!
I am currently running tbkeys-lite, I ended up w/ that since it was what was available in Thunderbird Add-ons.
I guess they not allow you to list the regular tbkeys there because of the ability to run arbitrary javascript w/ eval? Frustrating...
I wrote a somewhat extended plea on the TB keybinding API request thread you mention in the tbkeys repo.
Thank you for all your hard work on this extension, and for taking the time to respond to this thread. Much appreciated 🙏
from tbkeys.
Thank you @morat523035 !
While I hack about Firefox & FF Extensions, rarely mess w/ Thunderbird (tho it is my main mail app). Hadn't even tried the Dev Tools console...
I just assumed that TB had dropped the command altogether. But after seeing it run via console...was inspired to push a bit more...
And just after writing a [probably way too long] impassioned plea to the Thunderbird dev thread where @wshanks points in the full tbkeys repo, wherein he succinctly explains how his extension and the wonderful Nostalgy were both hobbled by the removal of a proper keyboard API...
I went back to the tbkeys-lite options, and noticed that in addition to the cmd:
prefix, which calls internal TB commands, and which did not work w/ LoadMsgWithRemoteContent, there is a func:
prefix too...
And voila! We can haz keyboard shortcut to 'Show remote content in message' w/ tbkeys-lite!
"ctrl+shift+c": "func:LoadMsgWithRemoteContent"
Thanks to all for the code and info; open source rules!
🙏🙌🕸
from tbkeys.
Works perfectly!!! 🙏 🙏 🙏
from tbkeys.
Since thunderbird 115 update func:LoadMsgWithRemoteContent
is not working anymore
from tbkeys.
The LoadMsgWithRemoteContent function is now defined in the aboutMessage.xhtml window, not the messenger.xhtml window.
Try the following command with tbkeys.
window.gTabmail.currentAboutMessage.LoadMsgWithRemoteContent();
You cannot run arbitrary javascript with tbkeys-lite.
There is a tbkeys.xpi link on the GitHub releases page.
About new mail front end
http://developer.thunderbird.net/thunderbird-development/codebase-overview/mail-front-end
http://developer.thunderbird.net/add-ons/updating/tb115/adapt-to-changes-in-thunderbird-103-115
from tbkeys.
I'm using tbkeys, but have no idea how to run this code.
This is my settings and nothing happens when I press Ctrl+h.
"ctrl+h": "(function () {window.gTabmail.currentAboutMessage.LoadMsgWithRemoteContent(); window.content.focus();});"
from tbkeys.
Thank you. Now everything is working correctly
from tbkeys.
Related Issues (20)
- Context for eval HOT 1
- [QUESTION] What is the appropriate command to toggle starring an email? HOT 1
- Add a shortcut to switch the editor type when creating a new message? HOT 2
- Uplift to be compatible with TB 113? HOT 5
- Compatibility issue with 115 HOT 9
- [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
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.