I'd like to hide the tab bar when there's only one tab opening. Because I open 4 windows so 4 tab bar actually takes quite a lot screen real estate.
I use Google Chrome the Linux version.
This will open a new window with your current page without tabs and close the current page.
window.close()doesn't work on Chromium 97. It fails with the error message: Scripts may close only the windows that were opened by them. You can still use the first command to open a new window without tab bar and then close the old one manually. — Feb 03, 2022 at 06:36