mozilla/kuma — pull request #2069 by icaaq (2014-02-26 16:37:52+00:00)
Title: only track clicks on links that has a hostname and if it's a outgoing link

made some tests here http://www.icaaq.se/sandbox/links.htm
but as @darkwing said "It's probably better to try out your selector on some live pages"