View difference between Paste ID: 747PACBh and VQq7PgfU
SHOW: | | - or go back to the newest paste.
1
var dARemoveOutgoing = {
2
	ancs: document.getElementsByTagName("a"),
3-
	workIt: "",
3+
4
		for (i = 0; i < dARemoveOutgoing.ancs.length; i++) {
5
			dARemoveOutgoing.ancs[i].setAttribute("href", dARemoveOutgoing.ancs[i].getAttribute("href").replace(/http:\/\/www\.deviantart\.com\/users\/outgoing\?/, ""));
6-
			dARemoveOutgoing.workIt = dARemoveOutgoing.ancs[i].getAttribute("href");
6+
7-
			dARemoveOutgoing.workIt = dARemoveOutgoing.workIt.replace(/http:\/\/www\.deviantart\.com\/users\/outgoing\?/, "");
7+
8-
			dARemoveOutgoing.ancs[i].setAttribute("href", dARemoveOutgoing.workIt);
8+
9
document.addEventListener("DOMContentLoaded", dARemoveOutgoing.action, false);