1
(function () {
2
document.addEventListener("DOMContentLoaded", function () {
3
var e = "dmca-badge";
4
var t = "refurl";
5
var n = document.querySelectorAll('a.'+e);
6
if (n[0].getAttribute("href").indexOf("refurl") < 0) {
7
for (var r = 0; r < n.length; r++) {
8
var i = n[r];
9
i.href = i.href + (i.href.indexOf("?") === -1 ? "?" : "&") + t + "=" + document.location
10
}
11
12
}
13
14
}
15
, false)
16
}
17
18
)()