I want a javascript instruction that will allow me to open a new default (empty) browser tab,
So far I've tried this window.open('chrome://newtab', '_blank');
But the browser returns the following error, Not allowed to load local resource: chrome://newtab/, even when serving the code with a local server
The thing is you cannot load local resources.
This is also true for chrome://settings/
since Chrome doesn't want to let websites trick inexperienced users into changing the settings.
I'm sure you have already tried this but the closest alternative is loading an about:blank tab with window.open("");
Or, since most of the users have a search engine in their new tab, you can just load window.open("https://www.google.com/");.
The bottom line is You can't load anything that starts with chrome://
You aren't allowed to open a chrome:// tab because that is a security risk, so the browser restricts it. It is also not the best solution since it only works on Chrome. Instead, you should open about:blank.
window.open('about:blank', '_blank');