Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/js/popup/search-box.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion src/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</head>

<body>
<div id="root"><div class="win"><div class="search-box"><input type="search" tabindex="0" placeholder="Search for a tab title or URL, or type / for more options" spellCheck="false" autofocus="" value=""/><svg class="search icon" viewBox="0 0 512 512"><path d="M497.913,497.913c-18.782,18.782-49.225,18.782-68.008,0l-84.862-84.863c-34.889,22.382-76.13,35.717-120.659,35.717 C100.469,448.767,0,348.312,0,224.383S100.469,0,224.384,0c123.931,0,224.384,100.452,224.384,224.383 c0,44.514-13.352,85.771-35.718,120.676l84.863,84.863C516.695,448.704,516.695,479.131,497.913,497.913z M224.384,64.109 c-88.511,0-160.274,71.747-160.274,160.273c0,88.526,71.764,160.274,160.274,160.274c88.525,0,160.273-71.748,160.273-160.274 C384.657,135.856,312.909,64.109,224.384,64.109z"></path></svg></div><div class="options-button" title="Options"><svg class="options icon" viewBox="0 0 14 16"><path fill-rule="evenodd" d="M14 8.77v-1.6l-1.94-.64-.45-1.09.88-1.84-1.13-1.13-1.81.91-1.09-.45-.69-1.92h-1.6l-.63 1.94-1.11.45-1.84-.88-1.13 1.13.91 1.81-.45 1.09L0 7.23v1.59l1.94.64.45 1.09-.88 1.84 1.13 1.13 1.81-.91 1.09.45.69 1.92h1.59l.63-1.94 1.11-.45 1.84.88 1.13-1.13-.92-1.81.47-1.09L14 8.75v.02zM7 11c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"></path></svg></div><div class="results-list-container" style="display:none"><div class="results-list" tabindex="-1" style="width:490px;height:0;position:relative;overflow-y:auto;overflow-x:hidden;will-change:transform"><div style="height:0;width:100%;position:relative"></div></div></div></div></div>
<div id="root"><div class="win"><div class="search-box"><input type="search" tabindex="0" placeholder="Search for a tab title or URL, or type / for more options" spellCheck="false" autoComplete="quickey-search" autofocus="" value=""/><svg class="search icon" viewBox="0 0 512 512"><path d="M497.913,497.913c-18.782,18.782-49.225,18.782-68.008,0l-84.862-84.863c-34.889,22.382-76.13,35.717-120.659,35.717 C100.469,448.767,0,348.312,0,224.383S100.469,0,224.384,0c123.931,0,224.384,100.452,224.384,224.383 c0,44.514-13.352,85.771-35.718,120.676l84.863,84.863C516.695,448.704,516.695,479.131,497.913,497.913z M224.384,64.109 c-88.511,0-160.274,71.747-160.274,160.273c0,88.526,71.764,160.274,160.274,160.274c88.525,0,160.273-71.748,160.273-160.274 C384.657,135.856,312.909,64.109,224.384,64.109z"></path></svg></div><div class="options-button" title="Options"><svg class="options icon" viewBox="0 0 14 16"><path fill-rule="evenodd" d="M14 8.77v-1.6l-1.94-.64-.45-1.09.88-1.84-1.13-1.13-1.81.91-1.09-.45-.69-1.92h-1.6l-.63 1.94-1.11.45-1.84-.88-1.13 1.13.91 1.81-.45 1.09L0 7.23v1.59l1.94.64.45 1.09-.88 1.84 1.13 1.13 1.81-.91 1.09.45.69 1.92h1.59l.63-1.94 1.11-.45 1.84.88 1.13-1.13-.92-1.81.47-1.09L14 8.75v.02zM7 11c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z"></path></svg></div><div class="results-list-container" style="display:none"><div class="results-list" tabindex="-1" style="width:490px;height:0;position:relative;overflow-y:auto;overflow-x:hidden;will-change:transform"><div style="height:0;width:100%;position:relative"></div></div></div></div></div>
</body>

</html>
Expand Down
Loading