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

Added ASN Org from Maxmind

This commit is contained in:
Andrew Van Tassel 2020-06-02 19:52:43 -06:00
parent 5830023fb5
commit 477f883106
4 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Change Log
## 3.8.0 - 2020-06-02
### Added
- ASN Org in hops list [https://en.wikipedia.org/wiki/Autonomous_system_(Internet)](https://en.wikipedia.org/wiki/Autonomous_system_(Internet))
## 3.6.8 - 2019-12-09
### Added

View File

@ -339,6 +339,18 @@ var mailHopsDisplay =
hop.setAttribute('value',label);
this.resultDetails.appendChild(hop);
}
if (response.route[i].asn) {
if (response.route[i].asn.autonomous_system_organization) {
hop = document.createElement('label');
hop.setAttribute('class', 'host');
label = 'ASN Org: ';
label = label + response.route[i].asn.autonomous_system_organization;
label = label + ' (' + response.route[i].asn.autonomous_system_number + ')';
hop.setAttribute('value',label);
this.resultDetails.appendChild(hop);
}
}
//append weather
if(!weatherRoute && !!response.route[i].weather){

View File

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

View File

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