Drop Bing header rewrites from DNR and webRequest
PE
1mo ago+0+0+0123456789-65-65-01234567890123456789
Retire the request-header overrides used by the legacy Bing Web provider for www.bing.com and sydney.bing.com.
This removes DNR rule 1 from src/rules.json and the matching webRequest.onBeforeSendHeaders listener from src/background/index.mjs. Chromium MV3 relied on the DNR rule, while Firefox MV2 also applied the blocking listener. Removing both keeps the header behavior consistent across browsers.
This PR isolates the header rewrite cleanup from the provider removal planned in a follow-up PR. Bing search-page extraction retains its host permissions, site adapter, and search result selector.
Validation
npm run pretty:checknpm run lintnpm testnpm run build- Required Chromium build artifacts verified
- Manual browser smoke testing remains pending
Summary by CodeRabbit
- Changes
- Bing HTTP and WebSocket requests are no longer modified to replace their
OriginandRefererheaders with Bing URLs. These requests retain their original header values instead. Header-handling behavior for ChatGPT and Claude remains unchanged, so this update affects only the handling of Bing requests and does not alter those other services.
- Bing HTTP and WebSocket requests are no longer modified to replace their