Skip to content

fix(rewards): add support for new /earn dashboard and Explore on Bing… - #611

Closed
phanex wants to merge 1 commit into
TheNetsky:v4from
phanex:fix/earn-tab-and-explore-on-bing
Closed

phanex wants to merge 1 commit into
TheNetsky:v4from
phanex:fix/earn-tab-and-explore-on-bing

Conversation

@phanex

@phanex phanex commented Sep 17, 2026

Copy link
Copy Markdown

Summary

Resolves #603 ("App-only daily offers are missing from the parsed dashboard") and adds support for Microsoft's new /earn tab architecture (https://rewards.bing.com/earn).

Background & Context

  • Microsoft recently migrated daily sets and introduced new "Explore on Bing" activities under the /earn dashboard.
  • In the legacy API (rewards.bing.com/api/getuserinfo), these activities appeared with &rnoreward=1 and exclusiveLockedFeatureStatus: "notsupported", leading to assumptions that they were locked or mobile app-exclusive (issue App-only daily offers are missing from the parsed dashboard #603).
  • In reality, these activities can be completely automated through /earn RSC flight payload parsing and subsequent Bing searches.

Key Changes

  1. RSC Flight Stream Parsing (ReactFunc.ts):
    • Parses /earn flight chunks to detect exploreonbing cards, fallback titles, and points.
  2. Server Action & Activity Completion (UrlReward.ts, PromotionActivityRunner.ts, SearchOnBingShared.ts):
    • Updates target URLs, referers, and router tree to /earn.
    • Triggers the activation server action and completes the card with targeted Bing queries from bing-search-activity-queries.json.
  3. Daily Set & Promotion Fallback (DailySet.ts, MorePromotions.ts):
    • Ingests reportable items directly from reactSnapshot when legacy API lists 0 remaining activities.
  4. Verified in Both Headless and GUI Modes:
    • Tested and verified in standard headful (GUI) browser mode.
    • Tested and verified in fully headless mode ("headless": true), including Passkey/KMSI authentication and point awarding (+40/+50 pts).

Verification

  • Tested with multiple active accounts across different locales (DE, etc.).
  • Confirmed all daily quests and "Explore on Bing" activities complete successfully and award points in both headless and non-headless environments.

@phanex phanex closed this Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App-only daily offers are missing from the parsed dashboard

1 participant