From 1e4fd576cbf78ea1e79e9746ad09b1be5f5a07e4 Mon Sep 17 00:00:00 2001 From: Alexander BC Date: Sat, 19 Jul 2025 17:35:50 +0200 Subject: [PATCH] chore: do not perform automatic search with "rnoreward" url param --- bing-rewarder/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bing-rewarder/index.js b/bing-rewarder/index.js index ca62de1..ca7bb5d 100644 --- a/bing-rewarder/index.js +++ b/bing-rewarder/index.js @@ -3,7 +3,7 @@ // @namespace bing // @description Search for 30 random words on bing to rack up reward points, just search bing once to start script // @include https://www.bing.com/* -// @version 1.3 +// @version 1.4 // @updateURL https://git.alexbcberio.com/alexbcberio/userscripts/raw/branch/main/bing-rewarder/index.js // @downloadURL https://git.alexbcberio.com/alexbcberio/userscripts/raw/branch/main/bing-rewarder/index.js // @grant GM.registerMenuCommand @@ -19,7 +19,7 @@ const wordMaxLength = 10; const minWaitSecondsToSearch = 5; const maxWaitSecondsToSearch = 10; -if (location.pathname === "/search") { +if (location.pathname === "/search" && !urlSearchParams.get("rnoreward")) { newSearch(); }