Repository navigation
w3bs:// typed: also redirect a search the omnibox served from prefetch - #158
Merged
Merged
Conversation
…fetch Typing w3bs://chovy.hacker on v3.19.2 still landed on pit.world/search: the declarativeNetRequest rule only sees requests, and a search the omnibox has already prefetched is served without one. The background worker now checks every URL a tab lands on and sends a w3bs:// search to the resolver. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
ThreatCrush Security Scan48 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 25 | LOW: 21
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On v3.19.2, typing
w3bs://chovy.hackerin the address bar still landed onpit.world/search?q=w3bs%3A%2F%2Fchovy.hacker(reported on bonita: the extension and its ruleset were loaded, and the log showed no errors). The declarativeNetRequest rule only sees network requests, and a search the omnibox has already prefetched is served without one.The background worker now watches
tabs.onUpdated. When a tab lands on a search whoseqis aw3bs://URI, it sends the tab tow3bs.org/browse. The rule stays as the no-flash path.Real Chromium, with the rule removed so only the new listener acts: pit.world and DuckDuckGo
w3bs://searches redirect, andhello w3bsis left alone. vitest: 159 pass.🤖 Generated with Claude Code