Chat #1
Replies: 34 comments 7 replies
|
Ja, ich wollte am Montag näher darauf eingehen. (cleidigh/EditEmailSubject-MX#36 (comment)) Wir können es natürlich über den WindowListener machen, aber mein erster Eindruck ist, dass es sehr leicht auch direkt als MailExtension laufen könnte, wenn die ComposeScript API nach TB78 gebackported wird. Das muss ich noch klären. |
|
Achso, sehr gut. Meinst du diese hier: https://thunderbird-webextensions.readthedocs.io/en/78/composeScripts.html ? An welcher Stelle fehlt diese API denn momentan, bzw. in wessen Verantwortungsbereich liegt sie? |
|
Ich hab da evtl was verwechselt, in 82 wurde "nur" das hier hinzugefügt: Damit kann zwischen content scripts und background scripts kommuniziert werden, was u.U. nötig ist, da im content script nicht alle APIs möglich sind. (composer scripts sind content scripts) |
|
Wenn es darauf hinaus läuft, dass die nötigen APIs erst mit Thunderbird 88 ausgeliefert werden, ist WindowListener wohl doch noch die bessere Alternative. 😅 |
Wie ist der aktuelle Stand? |
|
Ich warte leider noch immer auf Antwort. |
|
Ich habe nochmal nachgefragt. Wenn sich das zieht, geht das natürlich über die WL API. Ist aber doppelte Arbeit, wenn es dann doch verfügbar wird. |
|
Done. |
|
Das war dann also wohl der Abschnitt "MailExtensions: browser.tabs.sendMessage API added" in den 78.4-Release Notes, sehr schön. Und jetzt? 😅 |
|
Du könntest jetzt loslegen. MailExtensions sind deutlich einfacher zu coden als legacy extensions früher. Ich würde dich unterstützen. Hast du schonmal was in diese Richtung gemacht oder gelesen? |
|
Der WindowListener-Port wäre mit etwas Hilfe noch ungefähr meine Kragenweite gewesen, das Neu-Schreiben einer WebExtension geht aber deutlich darüber hinaus. Ich verdinge mich im Git-Umfeld als Übersetzer, Korrekturleser, Beta-Tester und Bug-Reporter, Coding gehört nicht dazu, abseits von etwas VBScript habe ich da leider keine Meriten. Diese Aufgabe müsste jemand anderes als ich übernehmen. |
|
Auch nicht wenn ich dich ein wenig schubse? Also z.B. einen initial commit? Ich kann es nicht als mein eigenes Add-On aufnehmen, aber ich kann dich unterstützen. Ich mach mal einen basis comit fertig und dann gucken wir mal was passiert. Evtl. kommt ja noch wer vorbei. |
|
Du kannst es nicht aufnehmen, wegen Zeitmangels oder weswegen? Ich meine, es ist auch nicht 'mein' Add-on, die MPL-Lizenz müsste einen "Fork" doch wohl erlauben, oder? 😅 |
|
Aus Zeitmangel. Wenn ich dich unterstütze ist es Arbeitszeit. Wenn ich es selber mache ist es Freizeit (die ich nicht habe). Unter welcher Lizenz war es ursprünglich released? Hab tatsächlich jetzt erst gesehen, das das Ding hier privat ist. |
|
Gut, das ist natürlich verständlich. So wie auch von mir im Repo vermerkt, unter der "Mozilla Public License, version 2.0". |
|
tada I will turn this in an example for others. Please have a look at the code. While you look at it, please read this: The base file is
|
|
Could you make the repo non-private? |
|
OK, @jobisoft, I assume you wrote you penultimate comment for me. I will read closely the page you provided and any relevant pages I can find. I don't know if you need this add-on as much as @spodermenpls, but I don't have a lot of spare time and I won't finish it anytime soon. |
|
I will help, but this is indeed a very good learning-by-doing-example. For both of you :-) |
|
@jobisoft Thank you very much for your commit. The eggshells have cracked, so I've made the repo public. I've replaced the old .png symbols with the newer ones introduced by Mr. Marc H. (presumably "MH" on thunderbird-mail.de/forum), which are a lot nicer than the original ones (which were only present in the former "NewBuild" folder). |
|
@jobisoft: can you help me to find the console of a composer window? I do not find anything in the UI and the typical keyboard shortcuts (F12, Ctrl+Shift+I, Ctrl+Shift+J, Ctrl+Shift+K) do not work either. Also in the debugging window of the addon the |
|
The composer does not have its own console, but it does consume the shortcuts, so nothing happens if you use CTRL+SHIFT+J in the composer. Open the console from the main window. To see all log entries, use the hint given here: |
|
Thanks - now I see the log entries from the composer. No idea why I did not look there. PS: The German translation of "Show Content Messages" is weird: "Inhaltsmitteilungen"... |
|
@kkapsner This user's praise from thunderbird-mail.de's board is meant for you:
|
|
Great that people like it. |
|
@kkapsner If you've got time, I'd like to hear your thoughts on my ideas I've shared two weeks ago. |
|
Is there a working version of SmartQuotes for current versions of Thunderbird? Or a way to compile the code from github into an xpi file? The only function my client needs is to see curly quotes instead of straight ones. Thanks in advance. |
|
Any reason it shouldn't work from the main page download?
Ezra Shapiro
Computer Solutions and Support
Kiryat Moshe 11, Jerusalem
m: 0526070941
tel: 026512760
http://shapiroezra.wix.com/ecss
…On Tue, Apr 26, 2022, 18:38 spodermenpls ***@***.***> wrote:
Very good, glad I could help. The "Releases" tab is indeed pretty hidden,
since GitHub did their redesign.
—
Reply to this email directly, view it on GitHub
<#1 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWRISMR3TSPQ3OLJV3BESCLVHAEWNANCNFSM5AXKJ65Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
@jobisoft Do you have an estimate on how the transition to Manifest v3 might impact our extension? |
|
I think the most important change is the non-persistent background page. If I understood that correctly, you can no longer use your background to store states, but must use local storage for it. A few APIs will change, like the browser_action API. Could be that I will use the switch to v3 to make a few backward incompatible changes to our own APIs, where I am currently unhappy of how it got implemented. I do not know if Thunderbird will start supporting v3 at the same time as Firefox does. This is the info I have: But rest assured, that I will provide help and guides to cover the changes. |

Uh oh!
There was an error while loading. Please reload this page.
@jobisoft Hast du schon einen Blick auf das Projekt werfen können, und vielleicht eine erste Einschätzung? 😏
All reactions