Disable Chrome session restore popup
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Romantic Lands Beckon
--
Chapters
00:00 Disable Chrome Session Restore Popup
00:33 Answer 1 Score 15
01:03 Accepted Answer Score 6
01:55 Answer 3 Score 5
02:33 Answer 4 Score 2
02:47 Thank you
--
Full question
https://superuser.com/questions/1343290/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#googlechrome
#avk47
ANSWER 1
Score 15
Edit the file located at C:\Users\username\AppData\Local\Google\Chrome\User Data\Default
Right click "Preference" file and click edit. ctrl+f to find the following values, and change the value to:
"exit_type": "none",
"exited_cleanly":true,
Save the file, and change the attribute to "read only" so chrome can't change it back.
ACCEPTED ANSWER
Score 6
Chrome has a special flag to disable session restore window. But be aware options in chrome://flags
are experimental and you may lose browser data or compromise your security or privacy.
Follow these steps:
- Open Chrome.
- Type
chrome://flags/#infinite-session-restore
in address bar (Crtl+L). - Click on the right drop-down menu and change the 'Default' value to 'Disable'. Then restart Chrome to apply that setting.
So what does this do? That option says -- "Reduces the number of tabs being loaded simultaneously during session restore, to improve responsiveness of the foreground tab". After disabling and restating Chrome, it relaunches chrome.exe
with --disable-features=InfiniteSessionRestore
option.
ANSWER 3
Score 5
After @Biswarpriyo s Answer don't work anymore (the flag got removed), it is possible to start Chrome (tried it with 86.0.4240) with the --disable-session-crashed-bubble
parameter.
For Linux: Just add it after the command in terminal. For example: chrome --disable-session-crashed-bubble
For Windows: You have to create a shortcut to chrome.exe (usually located in C:\Program Files (x86)\Google\Chrome\Application\ ) and add it to the target like described here
ANSWER 4
Score 2
See my answer on how I resolved this for the Chromium on a raspberry pi.
https://superuser.com/a/1643107/690627
Basically
su
(note: super-user remain in current user path, now using relative to local path)
chattr +i .config/chromium/Default/Preferences
chattr +i .config/chromium/'Local State'