From e8b34ae18d90711bdc78ef8677e6ec3b3698f073 Mon Sep 17 00:00:00 2001 From: Arief Wibowo Date: Tue, 21 Jun 2016 09:20:20 +0800 Subject: [PATCH 1/2] Add initial version of showtheway plugin --- plugins/showtheway.user.js | 93 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 plugins/showtheway.user.js diff --git a/plugins/showtheway.user.js b/plugins/showtheway.user.js new file mode 100644 index 000000000..090f379f7 --- /dev/null +++ b/plugins/showtheway.user.js @@ -0,0 +1,93 @@ +// ==UserScript== +// @id iitc-plugin-showtheway@ariefwt +// @name IITC plugin: Show the Way integration +// @category Info +// @version 1.0.0.@@DATETIMEVERSION@@ +// @namespace https://github.com/jonatkins/ingress-intel-total-conversion +// @updateURL @@UPDATEURL@@ +// @downloadURL @@DOWNLOADURL@@ +// @description [@@BUILDNAME@@-@@BUILDDATE@@] Share portal location that agents can actually use. One link to navigate with Waze, Google Maps, HERE Maps, Uber, Apple Maps, Bing Maps, and more. +// @include https://www.ingress.com/intel* +// @include http://www.ingress.com/intel* +// @match https://www.ingress.com/intel* +// @match http://www.ingress.com/intel* +// @include https://www.ingress.com/mission/* +// @include http://www.ingress.com/mission/* +// @match https://www.ingress.com/mission/* +// @match http://www.ingress.com/mission/* +// @grant none +// ==/UserScript== + +@@PLUGINSTART@@ + +// PLUGIN START //////////////////////////////////////////////////////// + +window.plugin.showtheway = { + onIitcLoaded: function () { + $('