From 8115f10e1f4fa3422148301add8884d0604245ba Mon Sep 17 00:00:00 2001 From: vita10gy Date: Wed, 6 Mar 2013 22:25:48 -0600 Subject: [PATCH] Ignore "Your Link" messages Likely fix for #350 --- plugins/player-tracker.user.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/player-tracker.user.js b/plugins/player-tracker.user.js index fe9c66a8..f75fd4c8 100644 --- a/plugins/player-tracker.user.js +++ b/plugins/player-tracker.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @id iitc-plugin-player-tracker@breunigs // @name iitc: player tracker -// @version 0.6.1 +// @version 0.7 // @namespace https://github.com/breunigs/ingress-intel-total-conversion // @updateURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js // @downloadURL https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js @@ -80,7 +80,8 @@ window.plugin.playerTracker.processNewData = function(data) { // field was originally created. Therefore it’s not clear which // portal the player is at, so ignore it. if(markup[1].plain.indexOf('destroyed the Link') !== -1 - || markup[1].plain.indexOf('destroyed a Control Field') !== -1) { + || markup[1].plain.indexOf('destroyed a Control Field') !== -1 + || markup[1].plain.indexOf('Your Link') !== -1) { skipThisMessage = true; return false; }