diff --git a/plugins/portal-names.user.js b/plugins/portal-names.user.js new file mode 100644 index 00000000..b7a2dfb5 --- /dev/null +++ b/plugins/portal-names.user.js @@ -0,0 +1,83 @@ +// ==UserScript== +// @id iitc-plugin-portal-names@zaso +// @name IITC plugin: Portal Names +// @category Layer +// @version 0.1.0.@@DATETIMEVERSION@@ +// @namespace https://github.com/jonatkins/ingress-intel-total-conversion +// @updateURL @@UPDATEURL@@ +// @downloadURL @@DOWNLOADURL@@ +// @description [@@BUILDNAME@@-@@BUILDDATE@@] Show portal names on the map +// @include https://www.ingress.com/intel* +// @include http://www.ingress.com/intel* +// @match https://www.ingress.com/intel* +// @match http://www.ingress.com/intel* +// @grant none +// ==/UserScript== + +@@PLUGINSTART@@ + +// PLUGIN START //////////////////////////////////////////////////////// + +// use own namespace for plugin +window.plugin.portalNames = function() {}; +window.plugin.portalNames.labelLayers = {}; +window.plugin.portalNames.labelLayerGroup = null; + +window.plugin.portalNames.setupCSS = function() { + $("