1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-18 07:10:09 -07:00

Removed mailer text

This commit is contained in:
Andrew Van Tassel 2020-01-08 23:06:57 -07:00
parent 86e4a6228d
commit 084327f8a6
4 changed files with 19 additions and 19 deletions

View File

@ -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';

View File

@ -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://',

View File

@ -32,7 +32,7 @@
<toolbarbutton id="mailhopsDataPaneRefresh" label="&mailhops_route_nav_refresh_label;" class="toolbarbutton"></toolbarbutton>
<label id="mailhopsDataPaneMailer" class="auth-item" value="" tooltiptext="Mailer"></label>
<label id="mailhopsDataPaneMailer" class="auth-item" is="text-link" value="" tooltiptext="Mailer"></label>
<label id="mailhopsDataPaneSPF" class="auth-item" value="" tooltiptext="SPF"></label>

View File

@ -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",