aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nintendo-com-fix-support/nintendo.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nintendo-com-fix-support/nintendo.js b/src/nintendo-com-fix-support/nintendo.js
index 218789f..c890474 100644
--- a/src/nintendo-com-fix-support/nintendo.js
+++ b/src/nintendo-com-fix-support/nintendo.js
@@ -104,5 +104,7 @@ for (const results_page_link of
document.querySelectorAll('[href^="/app/answers/list/page/"]')) {
const page_nr = /[0-9]*$/.exec(results_page_link.href);
const current_path = window.location.pathname;
- results_page_link.href = current_path.replace(/[0-9]*$/, page_nr);
+ results_page_link.href = current_path
+ .replace("list/kw", "list/st/5/kw")
+ .replace(/(search|page)\/[0-9]*$/, `page/${page_nr}`);
}