diff --git a/.gitignore b/.gitignore index 9c1bb94..398193e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.xpi .DS_Store +xpisign.py diff --git a/build.sh b/build.sh index cf39783..b4a9982 100755 --- a/build.sh +++ b/build.sh @@ -22,3 +22,6 @@ mv $filename.xpi ../ cd .. rm -rf build +# git clone https://github.com/nmaier/xpisign.py.git +# add this for cert signing +# python xpisign.py -k cert.pem mailhops.xpi mailhops.signed.xpi diff --git a/chrome/content/images/mailhops16.png b/chrome/content/images/mailhops16.png deleted file mode 100644 index e22444f..0000000 Binary files a/chrome/content/images/mailhops16.png and /dev/null differ diff --git a/chrome/content/images/mailhops32.png b/chrome/content/images/mailhops32.png index 804e5b0..911e89d 100644 Binary files a/chrome/content/images/mailhops32.png and b/chrome/content/images/mailhops32.png differ diff --git a/chrome/content/images/mailhops72.png b/chrome/content/images/mailhops72.png deleted file mode 100644 index c95e180..0000000 Binary files a/chrome/content/images/mailhops72.png and /dev/null differ diff --git a/chrome/content/images/map.png b/chrome/content/images/map.png deleted file mode 100644 index f90ef25..0000000 Binary files a/chrome/content/images/map.png and /dev/null differ diff --git a/chrome/content/images/options.png b/chrome/content/images/options.png deleted file mode 100644 index 67de2c6..0000000 Binary files a/chrome/content/images/options.png and /dev/null differ diff --git a/chrome/content/images/refresh.png b/chrome/content/images/refresh.png deleted file mode 100644 index 0de2656..0000000 Binary files a/chrome/content/images/refresh.png and /dev/null differ diff --git a/chrome/content/mailhops.js b/chrome/content/mailhops.js index 2c17a6b..2310a44 100644 --- a/chrome/content/mailhops.js +++ b/chrome/content/mailhops.js @@ -8,7 +8,7 @@ var mailHops = { msgURI: null , isLoaded: false - , options: {'version':'MailHops Plugin 1.0.8','lan':'en','unit':'mi','api_url':'https://api.mailhops.com','debug':false} + , options: {'version':'MailHops Plugin 1.0.9','lan':'en','unit':'mi','api_url':'https://api.mailhops.com','debug':false} , message: { secure:[] } , client_location: null }; diff --git a/chrome/content/tb-overlay.js b/chrome/content/tb-overlay.js index 442b2c4..22ce6de 100644 --- a/chrome/content/tb-overlay.js +++ b/chrome/content/tb-overlay.js @@ -201,6 +201,10 @@ var mailHopsDisplay = first = response.route[i]; if(!!response.route[i].countryCode) image='chrome://mailhops/content/images/flags/'+response.route[i].countryCode.toLowerCase()+'.png'; + if(response.route[i].city) + this.resultText.setAttribute('tooltiptext','From '+response.route[i].city+', '+response.route[i].state); + else + this.resultText.setAttribute('tooltiptext','From '+response.route[i].countryName); } var menuitem = document.createElement('menuitem'); diff --git a/chrome/content/tb-overlay.xul b/chrome/content/tb-overlay.xul index f3c243e..da232fc 100644 --- a/chrome/content/tb-overlay.xul +++ b/chrome/content/tb-overlay.xul @@ -13,32 +13,31 @@ - + + + + - + - + - + - + - + - + - + - diff --git a/chrome/skin/classic/tb-styles.css b/chrome/skin/classic/tb-styles.css index 415fe7b..f77b80a 100644 --- a/chrome/skin/classic/tb-styles.css +++ b/chrome/skin/classic/tb-styles.css @@ -26,3 +26,7 @@ tab { padding: 5px; color: #333; } + +#mailhopsResult label { + margin-top: 8px; +} diff --git a/install.rdf b/install.rdf index 0cad09b..5d35bc7 100644 --- a/install.rdf +++ b/install.rdf @@ -5,10 +5,10 @@ 2 thunderbird@mailhops.com - 1.0.8 + 1.0.9 MailHops - MailHops maps the route an email traveled to get to you. Using GeoIP it also displays distance traveled along with the location (city, state and country) of the sender. + MailHops maps the route an email took to get to you. Displaying the senders location, weather, user-agent and authentication used. chrome://mailhops/content/images/mailhops32.png https://www.mailhops.com Andrew Van Tassel @@ -29,7 +29,7 @@ {3550f703-e582-4d05-9a08-453d09bdfdc6} 3.0.* - 45.* + 47.*