This extension has two stages.
In the first stage it checks whether a newly opened tab is a secure YouTube site (https://www.youtube.com or https://youtube.com). If it is not, it does nothing, and that's it.
In the second stage ie. if it is a secure YouTube site, all it does is the following:
const searchInput = document.querySelector('input[name="search_query"]');
if (searchInput) {
searchInput.focus();
searchInput.click();
searchInput.dispatchEvent(new Event('focus', { bubbles: true }));
console.log('Search input focused by "YouTube Search Now" extension')
}
The extension needs no additional permissions, nor does it collect any data.