Repository navigation
feat(browser): show sites a common Edge - #138
Merged
Merged
Conversation
Some sites refuse to sign in to a browser that tells them a program drives it. The bot's browser now keeps navigator.webdriver false (--disable-blink-features=AutomationControlled) and overrides the user agent with its userAgentData metadata, read once from chrome://version, so the brands are no longer empty. No script is injected into pages; outerWidth stays 0. Spec 21.2, 21.3 and 19 record what was measured.
httpsphl
enabled auto-merge
October 3, 2026 18:57
Edge 153 on the CI lists them as Microsoft Edge, Not_A Brand, Chromium.
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.
Some sites refuse to sign in to a browser that tells them a program drives it (Google shows "This browser or app may not be secure"). This is the light half of the fix; the real-window sign-in comes in the next PR.
What sites saw before, measured with Edge 154 on a test page:
navigator.webdriverwastrue,navigator.userAgentData.brandswas empty (overriding only the user agent clears it), andouterWidth/outerHeightwere 0.--disable-blink-features=AutomationControlled:navigator.webdriverisfalse.Emulation.setUserAgentOverridenow carriesuserAgentMetadata, read once at start from achrome://versiontab (about:blankhas nouserAgentData), which closes before the daemon attaches to tabs.outerWidthstays 0. Spec 21.2, 21.3 and 19 updated.New test
sites_see_a_common_browser(real Edge). Full suite passed twice in a row locally.Manual check with real Claude Code: none needed. The tool output is unchanged.