I can't use,
window.location = 'chrome://restart';
Because then I get this error message:
"Not allowed to load local resource: chrome://restart/"
So what do I do to restart or kill Google Chrome using vanilla Javascript?
I can't use,
window.location = 'chrome://restart';
Because then I get this error message:
"Not allowed to load local resource: chrome://restart/"
So what do I do to restart or kill Google Chrome using vanilla Javascript?
It is possible for local browser to be restarted by JavaScript running in that browser if we have following configuration:
sudo service chrome-remote-desktop restart
(follow this, that etc)Than you need to make an API call to your server from your local browser script with for example fetch
...