Skip to content

Commit 37cc9f4

Browse files
committed
[AutoGrind] add support for new dashboard ui daily activity collection + tweak search URL params
1 parent 5580fa5 commit 37cc9f4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Bing-AutoGrind/Bing_AutoGrind.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name AutoGrind: Intelligent Bing Rewards Auto-Grinder
33
// @namespace https://github.com/jeryjs/
4-
// @version 5.3.7
4+
// @version 5.3.8
55
// @description This user script automatically finds random words from the current search results and searches Bing with them. Additionally, it auto clicks the unclaimed daily points from your rewards dashboard too.
66
// @icon https://www.bing.com/favicon.ico
77
// @author Jery
@@ -356,7 +356,7 @@ function addTabToClose(tab, timeout=5000) {
356356
* @returns {string} - The Bing search URL for the given search term.
357357
*/
358358
function generateSearchUrl(searchTerm) {
359-
return `https://www.bing.com/search?FORM=U523DF&PC=U523&q=${encodeURI(searchTerm)}&FORM=ANNTA1&qs=ds`;
359+
return `https://www.bing.com/search?pglt=419&FORM=U523MF&PC=U523&q=${encodeURI(searchTerm)}&FORM=ANNTA1&qs=ds`;
360360
}
361361

362362

@@ -498,7 +498,7 @@ if (isSearchPage) {
498498
if (isRewardPage) {
499499
if (COLLECT_DAILY_ACTIVITY) {
500500
// Wait for the page to load the point cards first
501-
window.onload = () => document.querySelectorAll("a.ds-card-sec:has(span.mee-icon-AddMedium)").forEach((card) => {
501+
window.onload = () => document.querySelectorAll("a.ds-card-sec:has(span.mee-icon-AddMedium), #moreactivities a[data-rac]:not(:has(div.bg-statusSuccessBg3))").forEach((card) => {
502502
addTabToClose(card.href);
503503
card.click();
504504
});

0 commit comments

Comments
 (0)