NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Youtube Consent Popup Remover // @version 1 // @grant all // @license MIT // @include https://*.youtube.com/* // @run-at document-idle // ==/UserScript== // repeat with the interval of 2 seconds let timerId = setInterval(() => { var as = document.getElementById("consent-bump"); if (as == undefined || as == null){ console.log("not found"); } else { console.log("found, removing"); as.innerHTML=""; found = 1; } }, 1000); // after 5 seconds stop setTimeout(() => { clearInterval(timerId); }, 10000);