I would like to know whether it is possible to open browser internal pages (such as the browser history, the settings page, etc.) with C# or a simple command line? I had already tried this with Google Chrome, but internal urls like "chrome://settings/" or "chrome://newtab/" etc. could not be opened via code. Any kind of string can apparently be passed as an argument (even a simple "a" the browser tries to address). The internal links however seem to be ignored as an argument by chrome, opera and the other browsers. Does anyone know how to show these pages by code? I actually just want to create simple hotkeys for a new tab in an already running browser process, for example, so I don't need a programmatic access to every single setting inside the browser itself.
I thought it would look smt. like this:
using System.Diagnostics;
static void Main(string[] args)
{
Process.Start("chrome", "chrome://newtab/");
}
or simple Batch
START chrome "chrome://settings/"
Aucun commentaire:
Enregistrer un commentaire