diff --git a/oldnewthing-link-unfucker.js b/oldnewthing-link-unfucker.js index e40069b..ab561d9 100644 --- a/oldnewthing-link-unfucker.js +++ b/oldnewthing-link-unfucker.js @@ -16,7 +16,7 @@ for (const link of document.getElementsByTagName('a')) { if (target === '') { continue; } - for (const [regex, replacement] of rewriteRules) { + for (const [regex, replacement] of rewriteRules) { target = target.replace(regex, replacement); } if (target !== link.href) {