i wanna write /a to sreachbar and press tab. then addon will open a site. but i cant make it. how can i make that. how can i handle tab action and get whats writed in the sreachbar
Do you mean in the main address bar? Omnibox API maybe?
https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/omnibox