From bb79c0a6995845ff5bf845c03edf90455f189376 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 3 Oct 2026 23:19:02 +0000 Subject: [PATCH] Keep Chrome's address autofill off the search box Chrome ignores autocomplete="off" when it guesses a field could hold an address or email, so it was popping an autofill dropdown over the results as the user typed. An unrecognized autocomplete token suppresses it. Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01FErbL9ibotqqEfx4Fni4pR --- src/js/popup/search-box.jsx | 5 +++++ src/popup.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/js/popup/search-box.jsx b/src/js/popup/search-box.jsx index e1d415b9..91678336 100644 --- a/src/js/popup/search-box.jsx +++ b/src/js/popup/search-box.jsx @@ -84,6 +84,11 @@ export default class SearchBox extends React.Component { tabIndex="0" placeholder="Search for a tab title or URL, or type / for more options" spellCheck={false} + // Chrome ignores autocomplete="off" when its heuristics + // decide a field could take an address or email, but it + // won't offer address autofill on a field whose token it + // doesn't recognize, so use a made-up one + autoComplete="quickey-search" autoFocus={true} value={query} forceUpdate={forceUpdate} diff --git a/src/popup.html b/src/popup.html index b05c1304..ce183ca1 100644 --- a/src/popup.html +++ b/src/popup.html @@ -14,7 +14,7 @@ -
+