Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jamesgroat
Copy link
Contributor

This PR prevents popup of "Restore pages?" prompt when Clawdbot launches chrome browsers. The prompt wasn't blocking any functionality but was visually annoying.

I've tested this.

Codex prompt:

Fix Chrome "Restore pages?" prompt for Clawdbot browser profiles.

Context:

  • Clawdbot manages multiple Chrome profiles at ~/.clawdbot/browser/{profile}/user-data/
  • Chrome shows "Restore pages?" dialog on startup after unclean shutdown
  • This is annoying

Goals:

  1. Prevent the restore prompt from appearing
  2. Apply fix to all Clawdbot browser profiles

Approaches to consider:

  • Set Chrome preferences in Default/Preferences JSON (exit_type, exited_cleanly)
  • Add Chrome launch flags (--disable-session-crashed-bubble, --hide-crash-restore-bubble)
  • Modify profile Preferences file on browser stop/start

Deliverable:

  • Identify the best approach
  • Implement it (either via launch flags in Clawdbot config or a script to patch Preferences files)
  • Test that the prompt no longer appears

@steipete
Copy link
Contributor

TIL! Had no idea this is possible!

@steipete steipete self-assigned this Jan 22, 2026
@steipete steipete merged commit 0f8d0f3 into openclaw:main Jan 22, 2026
17 of 22 checks passed
@steipete
Copy link
Contributor

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: 8d73c16 (changelog follow-up)
  • Merge commit: 0f8d0f3

Thanks @jamesgroat!

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.

2 participants