diff --git a/plugins/ap-list.user.js b/plugins/ap-list.user.js index 4fc2bb23..cd842aef 100644 --- a/plugins/ap-list.user.js +++ b/plugins/ap-list.user.js @@ -1,942 +1,15 @@ // ==UserScript== // @id iitc-plugin-ap-list@xelio // @name IITC plugin: AP List -// @category Info +// @category Deleted // @version 0.5.7.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ -// @description [@@BUILDNAME@@-@@BUILDDATE@@] List portals by AP of either faction or by effective level. Other functions and controls please refer to the Userguide. +// @description PLUGIN CURRENTLY UNAVAILABLE // @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.apList = function() { -}; - -window.plugin.apList.cachedPortals = {}; -window.plugin.apList.SIDE_FRIENDLY = 0; -window.plugin.apList.SIDE_ENEMY = 1; -window.plugin.apList.displaySide = window.plugin.apList.SIDE_ENEMY; -window.plugin.apList.sides = new Array(2); -window.plugin.apList.sortedPortals = new Array(2); -window.plugin.apList.playerApGainFunc = new Array(2); - -window.plugin.apList.SORT_BY_AP = 'AP'; -window.plugin.apList.SORT_BY_EL = 'EL'; -window.plugin.apList.sortBy = window.plugin.apList.SORT_BY_AP; -window.plugin.apList.SORT_ASC = 1; -window.plugin.apList.SORT_DESC = -1; -window.plugin.apList.sortOptions = {}; - -window.plugin.apList.currentPage = [1,1]; -window.plugin.apList.totalPage = [1,1]; -window.plugin.apList.portalPerPage = 10; -window.plugin.apList.sideLabelClass = {}; -window.plugin.apList.tableColumns = new Array(2); - -window.plugin.apList.useCachedPortals = false; -window.plugin.apList.cacheBounds; -window.plugin.apList.cacheActiveZoomLevel; - -window.plugin.apList.destroyPortalsGuid = new Array(); - -window.plugin.apList.portalLocationIndicator; -window.plugin.apList.animTimeout; - -// ENTRY POINT /////////////////////////////////////////////////////////////////// -window.plugin.apList.handleUpdate = function() { - if(!requests.isLastRequest('getThinnedEntitiesV4')) return; - plugin.apList.updateSortedPortals(); - plugin.apList.updatePortalTable(plugin.apList.displaySide); -} - -// CONTENT GENERATION //////////////////////////////////////////////////////////// - -// Generate html table from top portals -window.plugin.apList.updatePortalTable = function(side) { - var table = '