diff --git a/chrome/content/mailhops.js b/chrome/content/mailhops.js index 977e263..6fa6924 100644 --- a/chrome/content/mailhops.js +++ b/chrome/content/mailhops.js @@ -22,9 +22,10 @@ var mailHops = isLoaded: false, showDetails: false, showWeather: false, + showHost: false, map: 'goog', unit: 'mi', - appVersion: 'MailHops Postbox 0.6.9' + appVersion: 'MailHops Postbox 0.6.9.2' } mailHops.init = function() @@ -72,7 +73,7 @@ mailHops.init = function() , false); mailHops.mailhopsDataPaneDNSBL.addEventListener("click", function () { - var ip = this.getAttribute('ip'); + var ip = this.getAttribute('data-ip'); mailHops.launchSpamHausURL(ip); } , false); @@ -86,6 +87,7 @@ mailHops.loadPref = function() mailHops.unit = mailHops.getCharPref('mail.mailHops.unit','mi'); mailHops.showDetails = mailHops.getCharPref('mail.mailHops.show_details','false')=='true'?true:false; mailHops.showWeather = mailHops.getCharPref('mail.mailHops.show_weather','false')=='true'?true:false; + mailHops.showHost = mailHops.getCharPref('mail.mailHops.show_host','false')=='true'?true:false; }; mailHops.StreamListener = @@ -190,12 +192,12 @@ var regexAllIp = /(1\d{0,2}|2(?:[0-4]\d{0,1}|[6789]|5[0-5]?)?|[3-9]\d?|0)\.(1\d{ if(received_ips != null && received_ips.length !=0){ for( var r=0; r + diff --git a/install.rdf b/install.rdf index b4067cc..78da0d9 100644 --- a/install.rdf +++ b/install.rdf @@ -7,7 +7,7 @@ postbox@mailhops.com 2 MailHops - 0.6.9 + 0.6.9.2 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. chrome://mailhops/content/images/mailhops32.png http://mailhops.com diff --git a/mailhops-0.6.9-pb.xpi b/mailhops-0.6.9-pb.xpi index 85b6e4d..f1e3b18 100644 Binary files a/mailhops-0.6.9-pb.xpi and b/mailhops-0.6.9-pb.xpi differ