Skip to content

mathmul/chr-ext-youtube-search-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chr-ext-youtube-search-now

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:

// Prints this comment to console
console.log('search focused by extension')
// Finds the first <input> element with id="search", and focuses it so you can
// immediately start typing.
document.querySelector('input#search').focus()

The extension needs no additional permissions, nor does it collect any data.

Link to Chrome Web Store

chrome.google.com/webstore/detail/youtube-search-now

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published