Mercurial > ec-userscripts
comparison tgsmart-direct-link.user.js @ 23:d7cfa95436f9
(none)
author | Edho Arief <me@myconan.net> |
---|---|
date | Fri, 13 Nov 2015 09:23:40 +0000 |
parents | |
children | 28505554a8b9 |
comparison
equal
deleted
inserted
replaced
22:c4a091629ffb | 23:d7cfa95436f9 |
---|---|
1 // ==UserScript== | |
2 // @name TG Smart Nuke Out Tracking Function | |
3 // @namespace https://myconan.net | |
4 // @version 1.0.0 | |
5 // @description Remove tracking function from links in TG Smart | |
6 // @author nanaya | |
7 // @match http://www.tgsmart.jp/* | |
8 // @grant none | |
9 // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanaya1/TK64/tip/files/tgsmart-direct-link.user.js | |
10 // ==/UserScript== | |
11 | |
12 ;(function() { | |
13 Array.prototype.forEach.call( | |
14 document.querySelectorAll('a[onclick^="trackOutboundLink("'), | |
15 function(el) { | |
16 el.setAttribute("onclick", ""); | |
17 } | |
18 ) | |
19 }).call(); |