├── README.md
└── multi_export.user.js
/README.md:
--------------------------------------------------------------------------------
1 | # Ingress IITC Portal Multi Export
2 | This is a plugin to export portals to different formats.
3 |
4 | ## Features
5 | At the moment we support export of all portals in the current view, bookmarked portals by folders and portals inside a polygon
6 |
7 | As formats we currently got: GPX, CSV and export for Maxfield
8 |
9 | (check out http://www.ingress-maxfield.com/ for information about Maxfield)
10 |
11 | ## Requirements
12 | IITC needs to be installed. See this page for information: http://iitc.jonatkins.com/
13 |
14 | Additionally the "Bookmarks for maps and portals" and "Keys" plugin are needed for full functionality but the plugin also runs without them
15 |
16 | ## Install
17 | For installation just click on this link:
18 |
19 | https://github.com/modkin/Ingress-IITC-Multi-Export/raw/master/multi_export.user.js
20 |
21 | Normally Tampermonkey (or the extension you are using for JS) should recognize the format and ask to install the plugin
22 |
--------------------------------------------------------------------------------
/multi_export.user.js:
--------------------------------------------------------------------------------
1 | // ==UserScript==
2 | // @id iitc-plugin-portal-multi-export
3 | // @name IITC plugin: Portal Multi Export
4 | // @category Misc
5 | // @version 0.11
6 | // @namespace https://github.com/jonatkins/ingress-intel-total-conversion
7 | // @updateURL https://iitc.aradiv.de/plugin/37/multi_export.meta.js
8 | // @downloadURL https://iitc.aradiv.de/plugin/37/multi_export.user.js
9 | // @description Export portals from bookmarks, current view or polygon
10 | // @include http*://*intel.ingress.com/*
11 | // @match http*://*intel.ingress.com/*
12 | // @grant none
13 | // ==/UserScript==
14 |
15 | function wrapper(plugin_info) {
16 | // ensure plugin framework is there, even if iitc is not yet loaded
17 | if(typeof window.plugin !== 'function') window.plugin = function() {};
18 |
19 | window.plugin.multiexport = function() {};
20 |
21 |
22 | /*********** MENUE ************************************************************/
23 | window.plugin.multiexport.createmenu = function() {
24 | var htmldata = "
Export from Current View , inside Polygon or Bookmarks to various formats by clicking the corresponding cell in the table.
"
25 | + "
Please note that the first drawn polygon will be choosen to export from.
"
26 | + "
BE AWARE: If you choose BKMRK all portals will be added to the default bookmarks folder.