How to disable "restore pages" dialog in Chrome

The chrome://flags/#infinite-session-restore flag has been removed since chrome 74, but I found that the “Restore pages?” can still be avoided by starting Chrome with this parameter:

--disable-session-crashed-bubble

I post this here, because I guess it can be useful to others as well.

how to disable restore pages dialog

The other options that works for me is to use the “-incognito” flag. It seems this flag disables the “page restore” dialog automatically when used :slight_smile:

Yet another option I found is to simply use XClickRelative at the start of my macro. It searches for the “Restore pages?” dialog and closes it if it is found.