3

I've created my Google Custom Search Engine here https://www.google.com/cse
When I add it to omnibox with rightclick and try to use it I receive: enter image description here

It's not unexpectable because search url in that case is:
https://www.google.com/cse/publicurl?search=%s&bgresponse=
while my public url looks like that:
https://www.google.com/cse/publicurl?cx=239428934982349832894:slkdfj9024

So, how can I add Google Custom Search to omnibox or is such possibility totally blocked by Google intentionally?

fixer1234
  • 28,064
janot
  • 1,063

1 Answers1

1

The %s in the search URL is a placeholder for your search keywords.

When you search for something using the omnibox (say, "apples") the %s is replaced with your search keywords. For example:

http://google.com/search?q=%s

would be

http://google.com/search?q=apples

So your CSE search URL would probably have to look like this:

https://www.google.com/cse?cx=239428934982349832894:slkdfj9024&q=%s
Vinayak
  • 10,885