Created
November 23, 2022 04:06
-
-
Save ElnuDev/67c4a1ab0a9cb6666ba6e3d62b8ae777 to your computer and use it in GitHub Desktop.
Music-only YouTube homepage
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 Music-only YouTube homepage | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automatically switch to the "Music" feed filter on YouTube | |
// @author ElnuDev | |
// @match https://www.youtube.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// ==/UserScript== | |
document.querySelector(":not(.iron-selected)[chip-style='STYLE_HOME_FILTER'] [title='Music'] ").parentNode.click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment