// ==UserScript== // @name Youtube Video hider (to only listen to audio) // @description A userscript that hides most of the video content on youtube, so you can listen rather than watch! // @grant none // @version 2.0 // @author DJ Panaflex // @description 10/7/2024, 11:33:35 AM // @include http://*youtube.*/*watch* // @include https://*youtube.*/*watch* // @include https://*youtube.*/embed* // @include //*youtube.*/embed* // @require https://code.jquery.com/jquery-3.6.0.min.js // @run-at document-end // @namespace https://greasyfork.org/users/44041 // @downloadURL https://update.greasyfork.icu/scripts/371287/Youtube%20Video%20hider%20%28to%20only%20listen%20to%20audio%29.user.js // @updateURL https://update.greasyfork.icu/scripts/371287/Youtube%20Video%20hider%20%28to%20only%20listen%20to%20audio%29.meta.js // ==/UserScript== (function($) { 'use strict'; // === Configuration === // Selectors for elements to hide const selectorsToHide = [ 'video', // All