helloMundo
helloMundo

Reputation: 87

Is it possible for an extension to be in the URL?

I have never developed for Chrome before and I really like the feature of pressing tab on the Chrome url to search within that website that you are about to go to.

However, is it possible to make an extension that allows you to type something into the URL and then press tab to make it trigger an action?

Upvotes: 0

Views: 31

Answers (1)

Xan
Xan

Reputation: 77531

The requisite API is chrome.omnibox.

What can it do: you can have a preset "keyword" that you enter in the URL bar, and after than everything that you type after the keyword gets sent to the extension, and it can offer "suggestions" for the omnibar.

Upvotes: 1

Related Questions