changeset 56:e5377751525b

TG Smart thing is not needed anymore
author nanaya <me@nanaya.pro>
date Fri, 20 Jul 2018 00:37:14 +0900
parents 19c391840d4a
children 09f735548b2c
files tgsmart-direct-link.user.js
diffstat 1 files changed, 0 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/tgsmart-direct-link.user.js	Sat Jul 07 01:29:36 2018 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// ==UserScript==
-// @name         TG Smart Nuke Out Tracking Function
-// @namespace    https://myconan.net
-// @version      1.0.1
-// @description  Remove tracking function from links in TG Smart
-// @author       nanaya
-// @match        http://www.tgsmart.jp/*
-// @grant        none
-// @downloadURL  https://bitbucket.org/!api/2.0/snippets/nanayapro/TK64/tip/files/tgsmart-direct-link.user.js
-// ==/UserScript==
-
-;(function() {
-  "use strict";
-  var links = document.querySelectorAll("a[onclick^='trackOutboundLink('");
-  var removeOnClick = function(el) {
-    el.setAttribute("onclick", "");
-  };
-
-  Array.prototype.forEach.call(links, removeOnClick);
-}).call();
\ No newline at end of file