From 084327f8a6a498de8236a2efcf3e04120d40096c Mon Sep 17 00:00:00 2001 From: Andrew Van Tassel Date: Wed, 8 Jan 2020 23:06:57 -0700 Subject: [PATCH] Removed mailer text --- .../content/mailhops-2-msgNotificationBar.js | 32 +++++++++---------- chrome/content/mailhops-3.js | 2 +- chrome/content/msgNotificationBar.xul | 2 +- manifest.json | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/chrome/content/mailhops-2-msgNotificationBar.js b/chrome/content/mailhops-2-msgNotificationBar.js index 7b89e76..dd62430 100644 --- a/chrome/content/mailhops-2-msgNotificationBar.js +++ b/chrome/content/mailhops-2-msgNotificationBar.js @@ -170,22 +170,22 @@ var mailHopsDisplay = //X-Mailer, User-Agent or X-MimeOLE if(header_xmailer){ this.mailhopsDataPaneMailer.style.backgroundImage = "url('chrome://mailhops/content/images/email.png')"; - if(header_xmailer.indexOf('(')!=-1) - this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('('))); - else if(header_xmailer.indexOf('[')!=-1) - this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('['))); - else - this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer); + // if(header_xmailer.indexOf('(')!=-1) + // this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('('))); + // else if(header_xmailer.indexOf('[')!=-1) + // this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('['))); + // else + // this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer); this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_xmailer); this.mailhopsDataPaneMailer.style.display='block'; } else if(header_useragent){ this.mailhopsDataPaneMailer.style.backgroundImage = "url('chrome://mailhops/content/images/email.png')"; - if(header_useragent.indexOf('(')!=-1) - this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('('))); - else if(header_useragent.indexOf('[')!=-1) - this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('['))); - else - this.mailhopsDataPaneMailer.setAttribute('value',header_useragent); + // if(header_useragent.indexOf('(')!=-1) + // this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('('))); + // else if(header_useragent.indexOf('[')!=-1) + // this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('['))); + // else + // this.mailhopsDataPaneMailer.setAttribute('value',header_useragent); this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_useragent); this.mailhopsDataPaneMailer.style.display='block'; } else if(header_xmimeole){ @@ -196,10 +196,10 @@ var mailHopsDisplay = else if(header_xmimeole.indexOf('[')!=-1) header_xmimeole = header_xmimeole.substring(0,header_xmimeole.indexOf('[')); - if(header_xmimeole.indexOf('Produced By ')!=-1) - this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole.replace('Produced By ','')); - else - this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole); + // if(header_xmimeole.indexOf('Produced By ')!=-1) + // this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole.replace('Produced By ','')); + // else + // this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole); this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_xmimeole); this.mailhopsDataPaneMailer.style.display='block'; diff --git a/chrome/content/mailhops-3.js b/chrome/content/mailhops-3.js index c6a8e21..de4dfd8 100644 --- a/chrome/content/mailhops-3.js +++ b/chrome/content/mailhops-3.js @@ -8,7 +8,7 @@ var mailHops = { msgURI: null, isLoaded: false, options: { - 'version':'MailHops Plugin 3.7.4', + 'version':'MailHops Plugin 3.7.5', 'lan':'en', 'unit':'mi', 'api_http':'https://', diff --git a/chrome/content/msgNotificationBar.xul b/chrome/content/msgNotificationBar.xul index 17094b2..6f91861 100644 --- a/chrome/content/msgNotificationBar.xul +++ b/chrome/content/msgNotificationBar.xul @@ -32,7 +32,7 @@ - + diff --git a/manifest.json b/manifest.json index 2ebb767..d146c2d 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_appName__", "description": "__MSG_appDesc__", - "version": "3.7.4", + "version": "3.7.5", "author": "Hopsware LLC", "developer": { "name": "Andrew Van Tassel",