1
It's fine to open a http url with Chrome by a Windows command like this:
"C:\Program Files (x86)\Google\Chrome\Application>chrome.exe" "http://www.youtube.com"
But when I try to open an url of protocol "chrome://" by command like this:
"C:\Program Files (x86)\Google\Chrome\Application>chrome.exe" "chrome://bookmarks/#120"
, where the url is of a Bookmark Manager page, the result is opening the home page with a new Chrome window.
Is it possible to open a Bookmark Manager page with Chrome by a Windows command?
Actually, what I'm trying to do is to create a shortcut file on Windows Desktop for opening the Bookmark Manager page of a bookmark folder. The way I tried was to copy a Chrome shortcut to the Desktop, right click on it, select "Properties", and put the Windows command to the "Target" column. It works fine for any http url, but fails as I mentioned above for any "chrome://" url.
Thank you experts a lot for any help!
This only works for the bookmarks page (that was what the question was about so it's OK), but is there a way to do the same thing for for example the History page or the Settings page? – Donald Duck – 2016-09-30T13:34:52.683
Unfortunately I can't reproduce this for Settings or History, apparently the Bookmarks page behaves like some kind of a built-in extension, while the request url for the settings page is simply
chrome://chrome/settings/
. Since the response has aX-Frame-Options
header with a value ofDENY
, it can't be rendered in a frame or anything. We might need a chrome guru for a better answer :) – Andrei C – 2016-10-03T06:51:50.470I think you would need to disable web security. To do this you need to use a special switch and give it a temporary directory, so that it will create a temporary profile, for example:
--disable-web-security --user-data-dir=c:\tmp
– Rolf – 2018-10-22T09:40:29.040