https://stackoverflow.com/a/18317327/3809427 says you can exit chrome by chrome.processes API. But this is Dev channel from 2013 to present (2023). Is there a way to exit chrome on stable channel from Chrome extension?
I want to develop an extension which exit Chrome when a user closes a "Main Window"(I plan to detect it by number of tabs, etc).