Is it possible via window.open to open a page with information about the version of the browser? My browser is Google Chrome.
window.open("chrome://version/");
This code opens a new tab "about:blank".
Is it possible via window.open to open a page with information about the version of the browser? My browser is Google Chrome.
window.open("chrome://version/");
This code opens a new tab "about:blank".
You cannot use any of the usual APIs from the Web platform to open chrome://
pages.
These pages can be opened using chrome.tabs.create
though:
chrome.tabs.create({
url: 'chrome://version'
});
You're not allowed to do this (security reason, probably):
Try typing that in the console:
window.location.href = "chrome://version/"
output: Not allowed to load local resource: chrome://version/