Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name New Userscript
// @namespace 1111
// @version 0.2
// @description try to take over the world!
// @downloadURL https://gist.github.com/johnd0e/1edbda733d0f71e0c80a1acbd6587bb7/raw/test.user.js
// @author You
// @match https://www.tampermonkey.net/documentation.php#_updateURL
// @grant none
// ==/UserScript==
@johnd0e
johnd0e / map-bg-black.user.js
Created October 16, 2019 15:24
IITC plugin: Black map background
// ==UserScript==
// @id map-bg-black
// @name IITC plugin: Black map background
// @category Fix
// @version 0.1
// @description Workaround for white lines between tiles on dark basemap layers (https://github.com/Leaflet/Leaflet/issues/3575)
// @namespace https://github.com/johnd0e
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==
@johnd0e
johnd0e / aardvarkCommands.js
Last active October 6, 2019 11:27
aardwark
aardvark.loadObject ({
keyCommands : [],
//------------------------------------------------------------
loadCommands : function () {
if (this.keyCommands.length > 0)
return;
// 0: name (member of this.strings, or literal string)
// 1: function
// ==UserScript==
// @name IITC Plugin: Custom padding
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @version 0.1
// @description override renderer padding
// @match https://intel.ingress.com/*
// @grant none
// ==/UserScript==
(function() {
// ==UserScript==
// @name IITC Plugin: No canvas
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @version 0.1
// @description override leaflet preferCanvas
// @match https://intel.ingress.com/*
// @grant none
// ==/UserScript==
(function() {
// ==UserScript==
// @id experimental-geodesic-precision
// @name IITC plugin: Experimental geodesic precision
// @category Custom
// @version 0.2.0-alpha
// @description Increase latitude geodesic precision (experimental way)
// Instead of geodesic distance formula uses some Pyphagorean-like approximation,
// where latitude has less contribution than longitude.
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
// ==UserScript==
// @id latitude-geodesic-precision
// @name IITC plugin: Latitude geodesic precision
// @category Custom
// @version 0.2.0
// @description Increase latitude geodesic precision
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @id dynamic-geodesic-precision
// @name IITC plugin: Dynamic geodesic precision
// @category Custom
// @version 0.2.0-alpha
// @description Change geodesic precision depending on map zoom
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @id custom-geodesic
// @name IITC plugin: Custom geodesic
// @category Custom
// @version 0.1.0
// @description Customize geodesic precision by increasing intermediate points count
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @id simplergeodesic
// @name IITC plugin: Simpler geodesic
// @category Test
// @version 0.2.0
// @description test
// @namespace https://github.com/IITC-CE/ingress-intel-total-conversion
// @include https://intel.ingress.com/*
// @grant none
// ==/UserScript==