-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript access to quickmove popup #136
Comments
Maybe this should be a feature request for the ability to launch the quickmove window from javascript. |
Yeah, it is now a WebExtension. You'll need to use Untested:
Making it simpler is probably out of scope, so I'll close this issue. Good luck :) |
Thanks for the help, @kewisch. I've been trying to make this work on and off but I've mostly given up now. I'll post my progress in case anyone comes across this thread. I'm currently binding the following function: let extension = ExtensionParent.GlobalManager.getExtension('[email protected]');
let api = extension.apiManager.getAPI('browserAction', extension, 'addon_parent');
console.log(`api.browserAction = ${api.browserAction}`);
api.browserAction && api.browserAction.openPopup(); This logs |
I previously was able to trigger the quickmove popup from the console with
window.quickmove.openFile()
. Now with Thunderbird 15 / quickmove 2.7.0 I no longer have a top-level quickmove object. Is there a new way to access extensions programmatically in TB Supernova?For context, I am using tbkeys to launch quickmove with a keystroke, something not supported by the built-in shortcut manager.
The text was updated successfully, but these errors were encountered: