Skip to content

Keep Firefox new tab address bar ready - #428

Open
spencerc99 wants to merge 2 commits into
mainfrom
cx/firefox-newtab-url-selection
Open

Keep Firefox new tab address bar ready#428
spencerc99 wants to merge 2 commits into
mainfrom
cx/firefox-newtab-url-selection

Conversation

@spencerc99

Copy link
Copy Markdown
Owner

Summary

  • use Firefox’s native new-tab override for the History page so the address bar keeps native focus and selection behavior
  • leave the existing runtime opt-in unchanged in Chrome and Edge
  • replace Firefox’s ineffective extension checkbox with browser-managed guidance in onboarding, Settings, and History

Verification

  • bun run build-packages
  • bun run test:extension (899 tests)
  • bun run check:extension
  • bun run build in extension/
  • bun run build:firefox in extension/
  • Firefox 154: verified both Command+T and the new-tab button focus the address bar after History loads; typing produces only the entered query, without a moz-extension:// prefix

Screenshots are attached in the PR evidence comment.

No package API, starter template, or public developer documentation changes are needed; this only changes the Firefox extension’s new-tab integration.

@pkg-pr-new

pkg-pr-new Bot commented Aug 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

bun add https://pkg.pr.new/@playhtml/common@428
bun add https://pkg.pr.new/playhtml@428
bun add https://pkg.pr.new/@playhtml/react@428

commit: f0b6885

@spencerc99

Copy link
Copy Markdown
Owner Author

Preview evidence

Firefox opens History as its native new-tab override, keeps the address bar ready for typing, and explains that Firefox manages the page.

Open preview · Review all evidence · Commit f0b6885

New tab address bar ready

New tab address bar ready

After clicking Firefox’s new-tab button, History is loaded while typing produces only the entered text—no moz-extension URL remains to select or delete.

Open captured page · 1013×768

Firefox-managed new tab setting

Firefox-managed new tab setting

Firefox Settings no longer shows the extension’s ineffective takeover checkbox; it explains that Firefox owns the new-tab choice.

Open captured page · 1013×768

Published by PR Evidence. Media is temporary and is removed after retention expires.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying we-were-online-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5b335b4
Status: ✅  Deploy successful!
Preview URL: https://85eab0cf.we-were-online-website.pages.dev
Branch Preview URL: https://cx-firefox-newtab-url-select.we-were-online-website.pages.dev

View logs

@spencerc99

Copy link
Copy Markdown
Owner Author

Code review

No issues found. Checked for bugs and project-instruction compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant