-
Notifications
You must be signed in to change notification settings - Fork 53
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
Feature Request: access browser.*/messenger.* inside template script #289
Comments
It seems that only one parameter is missing there. This one works here:
|
Can confirm the code working within a community skript. Should be closed. |
I keep it open, because using webExt API is indeed something which could be useful, as it is easier. |
Added the community script: OpenComposeWindow. |
Wow time flies... |
Closing in favor of #371. |
Greetings,
firstly many thanks to author and to maintainer of quicktext!
I am using this extension for simple but effective ticket managment.
I respond to new email with a template, that calls script, which adds ticket number to subject and also opens new compose window with ticket number in subject.
This worked just fine, but now i cannot open new compose window anymore...
After some searching i see 2 solutions, either
browser.windows.openDefaultBrowser(url)
orbrowser.compose.beginNew()
but i cannot access
browser.*
from inside template scripts.I have naively tried adding quicktext.js as background script and adding browser via init function, but this is not ok...
So how do i tackle this problem?
Having full
browser.*
(or restricted) support available from template scripts would be great.The text was updated successfully, but these errors were encountered: