Handle more windows opening and update maximum version to 138.* #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I commented in my review on the Thunderbird Add-ons page that I had this working with more windows. And I got an email reply, suggesting I do a pull request. I took some time to learn what a pull is and get comfortable with it. So here it is.
And, oh, I've updated the manifest to set strict_max_version to 138.* and I have been using it with Thunderbird Daily for over a week.
I've been using these changes for just short of a year. I do a lot of stuff in my userChrome.js now.
I have a "skeleton" userChrome.js that doesn't really do anything, but it run the checks to see exactly which window has opened and logs it. And if it encounters a window it doesn't handle, it logs all the information for that window to make it easy to update the script to detect it. I can add this to the pull request if you think it might be useful to someone else.