Created
February 18, 2022 17:40
-
-
Save HaroldPetersInskipp/5129292f3750d99735c2a8b352a5651c to your computer and use it in GitHub Desktop.
Userscript to auto focus the search bar in YouTube.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Youtube - Auto Focus Search Bar | |
// @namespace https://github.com/HaroldPetersInskipp | |
// @version 1.0 | |
// @homepage https://github.com/HaroldPetersInskipp/YouTube-AFS | |
// @description Auto focus the search bar in YouTube. | |
// @author Inskipp | |
// @icon https://raw.githubusercontent.com/HaroldPetersInskipp/YouTube-AFS/main/icon.png | |
// @match *://www.youtube.com/* | |
// ==/UserScript== | |
var search_panel = document.getElementById("search-input").children[0].focus(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment