diff --git a/plugins/portal-highlighter-my-8-portals.user.js b/plugins/portal-highlighter-my-8-portals.user.js index 0693e9e6..ea63515f 100644 --- a/plugins/portal-highlighter-my-8-portals.user.js +++ b/plugins/portal-highlighter-my-8-portals.user.js @@ -1,5 +1,5 @@ // ==UserScript== -// @id iitc-plugin-highlight-portals-my-portals@vita10gy +// @id iitc-plugin-highlight-portals-my-8-portals@vita10gy // @name IITC plugin: highlight my level 8's on portals // @version 0.1.0.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion diff --git a/plugins/portal-highlighter-needs-recharge.user.js b/plugins/portal-highlighter-needs-recharge.user.js index c48e8c25..7fff4ece 100644 --- a/plugins/portal-highlighter-needs-recharge.user.js +++ b/plugins/portal-highlighter-needs-recharge.user.js @@ -1,11 +1,11 @@ // ==UserScript== -// @id iitc-plugin-show-portal-weakness@vita10gy -// @name IITC plugin: show portal weakness -// @version 0.7.0.@@DATETIMEVERSION@@ +// @id iitc-plugin-highlight-needs-recharge@vita10gy +// @name IITC plugin: hightlight portals that need recharging +// @version 0.1.0.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ -// @description [@@BUILDNAME@@-@@BUILDDATE@@] Uses the fill color of the portals to denote if the portal is weak (Needs recharging, missing a resonator, needs shields) Red, needs energy and shields. Orange, only needs energy (either recharge or resonators). Yellow, only needs shields. +// @description [@@BUILDNAME@@-@@BUILDDATE@@] Uses the fill color of the portals to denote if the portal needs recharging // @include https://www.ingress.com/intel* // @include http://www.ingress.com/intel* // @match https://www.ingress.com/intel* @@ -21,9 +21,9 @@ if(typeof window.plugin !== 'function') window.plugin = function() {}; // PLUGIN START //////////////////////////////////////////////////////// // use own namespace for plugin -window.plugin.portalWeakness = function() {}; +window.plugin.portalHighligherNeedsRecharge = function() {}; -window.plugin.portalWeakness.portalHighligherNeedsRecharge = function(data) { +window.plugin.portalHighligherNeedsRecharge.highlightWeakness = function(data) { var d = data.portal.options.details; var portal_weakness = 0; if(getTeam(d) !== 0) { @@ -41,7 +41,7 @@ window.plugin.portalWeakness.portalHighligherNeedsRecharge = function(data) { } var setup = function() { - window.addPortalHighlighter('Needs Recharge', window.plugin.portalWeakness.portalHighligherNeedsRecharge); + window.addPortalHighlighter('Portal Weakness', window.plugin.portalHighligherNeedsRecharge.highlightWeakness); } // PLUGIN END //////////////////////////////////////////////////////////