mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-06-01 05:20:08 -07:00
Added ASN Org from Maxmind
This commit is contained in:
parent
5830023fb5
commit
477f883106
@ -1,5 +1,10 @@
|
|||||||
# Change Log
|
# 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
|
## 3.6.8 - 2019-12-09
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -339,6 +339,18 @@ var mailHopsDisplay =
|
|||||||
hop.setAttribute('value',label);
|
hop.setAttribute('value',label);
|
||||||
this.resultDetails.appendChild(hop);
|
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
|
//append weather
|
||||||
if(!weatherRoute && !!response.route[i].weather){
|
if(!weatherRoute && !!response.route[i].weather){
|
||||||
|
@ -8,7 +8,7 @@ var mailHops = {
|
|||||||
msgURI: null,
|
msgURI: null,
|
||||||
isLoaded: false,
|
isLoaded: false,
|
||||||
options: {
|
options: {
|
||||||
'version':'MailHops Plugin 3.7.6',
|
'version':'MailHops Plugin 3.8.0',
|
||||||
'lan':'en',
|
'lan':'en',
|
||||||
'unit':'mi',
|
'unit':'mi',
|
||||||
'api_http':'https://',
|
'api_http':'https://',
|
||||||
|
@ -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.6",
|
"version": "3.8.0",
|
||||||
"author": "Hopsware LLC",
|
"author": "Hopsware LLC",
|
||||||
"developer": {
|
"developer": {
|
||||||
"name": "Andrew Van Tassel",
|
"name": "Andrew Van Tassel",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user