How do I configure the Google Chrome / Chromium address bar to perform a search instead of trying to access a file on the local file system?

Posted by Daniel Kauffman on Super User See other posts from Super User or by Daniel Kauffman
Published on 2014-05-31T02:45:07Z Indexed on 2014/05/31 3:31 UTC
Read the original article Hit count: 232

How do I configure the Google Chrome / Chromium address bar to perform a search instead of trying to access a file on the local file system? I would like to be able to enter a file name in the address bar and to see Google search results for that file name similar to what I would see if I searched for the file name using something like https://www.google.com/#q=/path/to/interesting/file

I am able to disable the file scheme using either of the following policy settings:

"DisabledSchemes": ["file"],

Which has been deprecated in favor of:

"URLBlacklist": ["file://"],

But in either case Google Chrome / Chromium continues to auto-detect that a file name was entered, automatically prepends the file scheme to the file name, and then reports that the webpage is blocked.

© Super User or respective owner

Related posts about google-chrome

Related posts about search