-
Notifications
You must be signed in to change notification settings - Fork 37
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
warning message spans may appear in sent email #12
Comments
Thanks! We'll review this tomorrow. Tami Reiss Agile Reinforcement to accelerate your development Dedicated to respect and diversity Learn about the difference between the Cyrus way On Wed, Jan 6, 2016 at 1:14 PM, Lance E Sloan notifications@github.com
|
Chrome version: Version 47.0.2526.106 (64-bit) The only other Google Chrome extension for Google Mail I have installed is "Google Mail Checker 4.4.0", but I had disabled it several weeks ago. |
I was able to reproduce this with a few simple steps: Reproduction 1
|
Update: Just now I found a simpler set of steps to reproduce the problem. No reload trickery necessary: Reproduction 2
I'm not including the example results here, since it contains business information. Note that while the JNS spans are included in the message, they are not styled. There's no red dotted underline visible. However, the JNS messages are still visible in the source and may appear under other circumstances as well. It seems that this case can only be reproduced by using the send keystroke combination, ⌘Enter. When clicking the |
I hope you're not getting too annoyed with my updates. (Just the right amount of annoyance is fine, though.) As I mentioned before, my Google Mail account is an "enterprise" one. To make the test more bulletproof, I switched to my personal, non-enterprise account. I also created a new Chrome profile that only has the JNS extension enabled and nothing else. Even with this minimal setup, I was able to reproduce the issue as described in each of the two sets of reproductions shown above. There are a couple of new observations, though:
So far, it appears that the text of JNS span messages is not searchable by Google Mail or the browser, but it could be searchable in other mail clients used by message recipients. |
I thought of a possible solution: Instead of altering the HTML of the email messages being edited, look into whether the Google Chrome extension APIs allows changing the appearance of page contents without affecting the markup. The spelling check feature seems to do this. It's just a question of whether an extension is allowed to make that kind of change. It seems that when JNS changes the markup, Google Mail is saving it as part of the message. After it's saved, then some events (page reload, sending with a keystroke, maybe others) prevent JNS from removing the spans. |
We're working on the highlighting span issue tomorrow and we hope that it Tami Reiss Agile Reinforcement to accelerate your development Dedicated to respect and diversity Learn about the difference between the Cyrus way On Thu, Jan 7, 2016 at 11:28 AM, Lance E Sloan notifications@github.com
|
We're hoping that #31 fixes this |
I may be sounding the alarm too soon, but I thought I'd mention a problem I found before somebody else does. If it turns out to be my own fault and this is proven to be a non-issue, then so be it.
I sent myself a message in Google Mail (my organization uses an enterprise version set up for us by Google) which contained only the word "sorry" followed by my email signature. When I opened the message I'd received, then chose the
Show original
feature, the "text/html" part of the message contained the following:(I've edited this slightly to remove my email signature and its immediately enclosing markup.)
Notice there are two HTML
span
elements which contain JNS warning messages about using the word "sorry". This could be embarrassing if some recipient noticed this in a message.I had installed JNS by downloading a ZIP file of this repo, extracting it on my computer (running OS X v10.11.1), and using the
Load unpacked extension...
button on extensions page in Chrome ("Version 47.0.2526.106 (64-bit)"). I ran it and it seemed fine.I went on to make some minor changes to
just-not-sorry.css
. To see them, I used theReload (⌘R)
link on the extensions page to reload my changes. They didn't appear at first, so I also reloaded my Google Mail page. In my "Drafts" folder, I reopened the message and made some edits to the message to see the new style I'd specified. It looked fine, so I sent the message.I didn't suspect that the JNS message would appear in my email at all. I just happened to inspect the elements of the message and I noticed it there.
I suspect that the markup may have gotten included in the message because I reloaded the page while JNS had the text highlighted. It might also have something to do with the enterprise version of Google Mail I'm using. I'd like to know whether anybody else can reproduce this problem, either with the GitHub project or using the extension installed from Chrome's web store.
Let me know if more details are needed.
The text was updated successfully, but these errors were encountered: