summaryrefslogtreecommitdiff
path: root/chrome/content/messengercompose.xul
diff options
context:
space:
mode:
authorSukhbir Singh <sukhbir@torproject.org>2017-12-26 12:11:53 -0500
committerSukhbir Singh <sukhbir@torproject.org>2017-12-26 22:06:42 -0500
commit3084a2f99dafa173f3d0ee4128e0a43d6ba62b3c (patch)
tree9529f8fa64b165633f4c095f1ed5030a148d4b4d /chrome/content/messengercompose.xul
parent72468d21084a80420b299d94a6afdd66c2d141e6 (diff)
[feat] Display encryption status of email addresses in compose window
When composing an email, display the encryption status for each address. If the public key for a given address is found, show the "lock" sign (encrypted) in front of it otherwise show the "unlocked" sign (unencrypted). This status is fetched using the keymanager.
Diffstat (limited to 'chrome/content/messengercompose.xul')
-rw-r--r--chrome/content/messengercompose.xul11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/content/messengercompose.xul b/chrome/content/messengercompose.xul
new file mode 100644
index 0000000..e3fcf34
--- /dev/null
+++ b/chrome/content/messengercompose.xul
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+
+<overlay id="bitmaskComposeOverlay"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <script type="application/javascript" src="chrome://bitmask/content/bitmask.js" />
+ <script type="application/javascript" src="chrome://bitmask/content/messengercompose.js" />
+
+ <textbox id="addressCol2#1" oninput="checkToField.splitInput(event);" />
+
+</overlay>