1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-18 15:20:08 -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 //X-Mailer, User-Agent or X-MimeOLE
if(header_xmailer){ if(header_xmailer){
this.mailhopsDataPaneMailer.style.backgroundImage = "url('chrome://mailhops/content/images/email.png')"; this.mailhopsDataPaneMailer.style.backgroundImage = "url('chrome://mailhops/content/images/email.png')";
if(header_xmailer.indexOf('(')!=-1) // if(header_xmailer.indexOf('(')!=-1)
this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('('))); // this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('(')));
else if(header_xmailer.indexOf('[')!=-1) // else if(header_xmailer.indexOf('[')!=-1)
this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('['))); // this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer.substring(0,header_xmailer.indexOf('[')));
else // else
this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer); // this.mailhopsDataPaneMailer.setAttribute('value',header_xmailer);
this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_xmailer); this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_xmailer);
this.mailhopsDataPaneMailer.style.display='block'; this.mailhopsDataPaneMailer.style.display='block';
} else if(header_useragent){ } else if(header_useragent){
this.mailhopsDataPaneMailer.style.backgroundImage = "url('chrome://mailhops/content/images/email.png')"; this.mailhopsDataPaneMailer.style.backgroundImage = "url('chrome://mailhops/content/images/email.png')";
if(header_useragent.indexOf('(')!=-1) // if(header_useragent.indexOf('(')!=-1)
this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('('))); // this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('(')));
else if(header_useragent.indexOf('[')!=-1) // else if(header_useragent.indexOf('[')!=-1)
this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('['))); // this.mailhopsDataPaneMailer.setAttribute('value',header_useragent.substring(0,header_useragent.indexOf('[')));
else // else
this.mailhopsDataPaneMailer.setAttribute('value',header_useragent); // this.mailhopsDataPaneMailer.setAttribute('value',header_useragent);
this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_useragent); this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_useragent);
this.mailhopsDataPaneMailer.style.display='block'; this.mailhopsDataPaneMailer.style.display='block';
} else if(header_xmimeole){ } else if(header_xmimeole){
@ -196,10 +196,10 @@ var mailHopsDisplay =
else if(header_xmimeole.indexOf('[')!=-1) else if(header_xmimeole.indexOf('[')!=-1)
header_xmimeole = header_xmimeole.substring(0,header_xmimeole.indexOf('[')); header_xmimeole = header_xmimeole.substring(0,header_xmimeole.indexOf('['));
if(header_xmimeole.indexOf('Produced By ')!=-1) // if(header_xmimeole.indexOf('Produced By ')!=-1)
this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole.replace('Produced By ','')); // this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole.replace('Produced By ',''));
else // else
this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole); // this.mailhopsDataPaneMailer.setAttribute('value',header_xmimeole);
this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_xmimeole); this.mailhopsDataPaneMailer.setAttribute('tooltiptext',header_xmimeole);
this.mailhopsDataPaneMailer.style.display='block'; this.mailhopsDataPaneMailer.style.display='block';

View File

@ -8,7 +8,7 @@ var mailHops = {
msgURI: null, msgURI: null,
isLoaded: false, isLoaded: false,
options: { options: {
'version':'MailHops Plugin 3.7.4', 'version':'MailHops Plugin 3.7.5',
'lan':'en', 'lan':'en',
'unit':'mi', 'unit':'mi',
'api_http':'https://', 'api_http':'https://',

View File

@ -32,7 +32,7 @@
<toolbarbutton id="mailhopsDataPaneRefresh" label="&mailhops_route_nav_refresh_label;" class="toolbarbutton"></toolbarbutton> <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> <label id="mailhopsDataPaneSPF" class="auth-item" value="" tooltiptext="SPF"></label>

View File

@ -2,7 +2,7 @@
"manifest_version": 2, "manifest_version": 2,
"name": "__MSG_appName__", "name": "__MSG_appName__",
"description": "__MSG_appDesc__", "description": "__MSG_appDesc__",
"version": "3.7.4", "version": "3.7.5",
"author": "Hopsware LLC", "author": "Hopsware LLC",
"developer": { "developer": {
"name": "Andrew Van Tassel", "name": "Andrew Van Tassel",