After a fair amount of searching I have been unable to find a solid answer on how to disable, or remove, the "Search Google for..." option in the Chrome context menu. I am unable to find any options related to it within the browser itself or within the preferences file in the AppData/local/Google/Chrome/UserData/Default directory. Is this even possible or is there a manifest/config file I am completely missing? Currently on Chrome Version 79.03945.117 - Feedback or guidance would be greatly appreciated.
I don't know how to remove the menu item, but I found if you change your search provider to X, the menu option changes to "Search X for...".
I was also able to create a fake search provider in Chrome Settings and set it as the default for both searches from the location bar, and searches from the context menu. I searched settings for "search", clicked "Add" next to Other search engines, and entered "localhost" as the name and keyword and http://127.0.0.1/search/%s for the Query URL. I then clicked "make default" on this search engine. Note: if you do this all searches will fail since there's not a real search engine at localhost; the point of doing it for me is to prevent any accidental searching when I have highlighted text that contains, say, a password, that I don't want to send to the Internet.
Related
I am looking for a solution for the problem in the Chrome Extension.
If I enter some value in the URL like Mail, Notes, Profile, etc. I want to access the keywords before the values are accessed by the browser and then taken for a search which then changes the URL based on the default search engine.
I want to access the words and then automatically redirect the user to another page. I don't really know if it is possible or not, but thought of asking it to the community.
Or, Is there any way we can make some words which will not be searchable using the Address bar, but it should be that we don't need to make changes in the settings directly, but by using the extension.
Any kind of response are appreciated.
I was trying to capture the value that user enters in the Address bar. I found that we can actually find the link that upon searching from the address bar can be captured using Javascript but could not find if it was possible to capture before the search takes place. (immediately after pressing the enter key or search button).
I want to save the history. Disabling everything is not a choice.
I just use the same google account on my work PC and on my private PC. When I click into the search bar of a new tab, it shows me a dropdown of recent searches - including private searches from yesterday evening. When I share my screen, my colleagues see this and might think that I've been looking for all this during work time.
How can I fix this? Do I need seperate accounts for work/private?
Yeah perhaps considering getting a separate account as manually clicking 'remove' for each search term in the drop-down can be consuming or the other option is to go to search history in google settings and clear for 'all-time'
How to remove istartsurf from chrome?
Context: I've installed a bunch of extensions after a day I got "istartsurf" as my main search engine in chrome which sends the search to their server and then redirects the search to google making it seem like you searched on google from the start. It takes a split second then you only see google.com in the address bar.
I've installed
chrome extensions: Requestly, Toby for Chrome
apps: Java, JDK, postgresql.
Can anyone relate to this? as I want to narrow done the source of this.
For Chrome you need to go to settings > Search engine
For Search engine used in the address bar set Google (or whatever you want)
For Manage search engines go through to the lists and remove anything suspicious.
Similar should be done for other browsers.
If this goes deeper (registry or something else) please let me know so I can update the answer.
I have a local search engine backed by a elasticsearch and a thin nodejs API for search. I want to be able to search those documents from Google Chrome (builds available from Google, not Chromium) directly. In this use case, I will use chrome ONLY with this search engine, so I don't want to use OmniBox keyword search API. I want the same behavior as I get while choosing the default search engine in chrome. Which is
Start typing in the OmniBox and it shows a list of suggestions.
Hit enter and it takes to the search results page
I got the #2 working by adding a new search engine under settings and providing the search api's url. I can't get #1 working.
The two urls exposed by my server are:
http://localhost:3000/complete?query=my (this returns a list of search suggestions which I want to show while typing in OmniBox).
http://localhost:3000/results?query=my+sample+query (this returns the actual search results as a web page, this is working)
Things that I have tried:
Added search engine using window.externals.AddSearchProvider with OpenSearchDescription.xml link. The XML has suggestions url as well.
Tried writing a background extension with OmniBox but it does not allow me to search without using a keyword
I searched through Chromium and found this JSON file
https://code.google.com/p/chromium/codesearch#chromium/src/components/search_engines/prepopulated_engines.json&q=prepopulated&sq=package:chromium&l=1
But I don't know how can I use it (or if its even possible to do this in official builds of Chrome).
I finally found the solution.
The opensearch.xml document reference can be used as a link in the head section of the HTML page. It contains two URL schemes, one for search results and other for suggestions.
The details can be found here:
Opensearch Document Specs.
As soon as I updated my index.html and opened the page in Chrome, Chrome automatically added a new search engine. It didn't show that there is a suggestions URL under Settings > Manage search engines.
Next, I chose my engine as the default search engine by clicking on Make Default and done! Now I can see all the search suggestions in the omnibox without using a keyword.
There is a Setting Overrides mechanism for Chrome Extensions, which is not widely known, which can achieve what you want, but:
At least according to the docs, it only works on Windows and Mac.
You won't be able to publish the extension unless you can verify the site in Webmaster Tools. Otherwise, you are stuck with unpacked installs.
I need access to search engines settings from Chrome extension to populate context menu with search engines list.
Extension operate as follows:
User select text, opens context menu with submenu "Search {selection} by ..." and get list of engines, click needed engine and go to relevant search url
Your best option is going to manually build an extensive list of search engines that are displayed to the user. There is no pragmatic method of collecting currently installed search engines.