Video buttons allower

Allow all buttons in video

// ==UserScript==
// @name         Video buttons allower
// @description  Allow all buttons in video
// @match        *://*/*
// @version 1.0.1
// @namespace Video buttons allower
// ==/UserScript==

function cleanControlsList() {
    document.querySelectorAll("video").forEach(video => {
        if (video.controlsList) {
            video.controlsList.value = video.controlsList.value
                .split(" ")
                .filter(attr => !attr.startsWith("no"))
                .join(" ");
        }
    });
}
setInterval(cleanControlsList, 1000);