Hi all, today Chrome 102 is rolling out.
1. Chrome 102 fixed a critical
bug about the omnibox API. Now you can use it in MV3, like below in the manifest.json:
{
...
"manifest_version": 3,
"minimum_chrome_version": "102",
"omnibox": {
"keyword": "xxx"
}, ...
}
2. Sharing my new extension: MDN Search.
It supplies MDN Web Docs search function with autocomplete in the browser address bar.
In addition to HTML/CSS/JS references, you can also search the extensions api, since MDN also includes the
webextensions api.
Because it only uses the omnibox API and is very simple, it is the same code for both MV2 and MV3.