chore: do not perform automatic search with "rnoreward" url param
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
// @namespace bing
|
// @namespace bing
|
||||||
// @description Search for 30 random words on bing to rack up reward points, just search bing once to start script
|
// @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/*
|
// @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
|
// @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
|
// @downloadURL https://git.alexbcberio.com/alexbcberio/userscripts/raw/branch/main/bing-rewarder/index.js
|
||||||
// @grant GM.registerMenuCommand
|
// @grant GM.registerMenuCommand
|
||||||
@@ -19,7 +19,7 @@ const wordMaxLength = 10;
|
|||||||
const minWaitSecondsToSearch = 5;
|
const minWaitSecondsToSearch = 5;
|
||||||
const maxWaitSecondsToSearch = 10;
|
const maxWaitSecondsToSearch = 10;
|
||||||
|
|
||||||
if (location.pathname === "/search") {
|
if (location.pathname === "/search" && !urlSearchParams.get("rnoreward")) {
|
||||||
newSearch();
|
newSearch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user