diff --git a/plugins/README.md b/plugins/README.md index 35eb5d86..ae93336a 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -19,8 +19,9 @@ Available Plugins The development version is not available publicly, you need to build it yourself. See [HACKING.md](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/HACKING.md#hacking) for guides. -- [**Player Tracker**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js) Draws trails for user actions in the last hour. At the last known location there’s a tooltip that shows the data in a table. [View screenshot](http://breunigs.github.com/ingress-intel-total-conversion/screenshots/plugin_player_tracker.png). **REQUIRES 2013-02-19+** - [**Compute AP Stats**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/compute-ap-stats.user.js) Shows the potential AP an agent could obtain by destroying and rebuilding all the portals in the current zoom area. **REQUIRES 2013-02-22+** +- [**Player Tracker**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js) Draws trails for user actions in the last hour. At the last known location there’s a tooltip that shows the data in a table. [View screenshot](http://breunigs.github.com/ingress-intel-total-conversion/screenshots/plugin_player_tracker.png). **REQUIRES 2013-02-19+** +- [**Show Portal Address**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/show-address.user.js) Shows portal address in the side panel. Hacking ------- diff --git a/plugins/show-address.user.js b/plugins/show-address.user.js index 77bf5323..4f218ea2 100644 --- a/plugins/show-address.user.js +++ b/plugins/show-address.user.js @@ -23,18 +23,17 @@ window.plugin.portalAddress = function() {}; window.plugin.portalAddress.portalDetail = function(data) { //If there's 4 sets of comma delimieted info the last one is the country, so get rid of it. If the country //is in the [2] then it doesn't matter because address is usually short enough to fit. - var address = data.portalDetails.portalV2.descriptiveText.ADDRESS.split(",").splice(0,3).join(","); - $(".imgpreview").append("