Skip to content

brobert83/auto-click-youtube-continue-watching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Install tampermonkey

Add this script

// ==UserScript==
// @name         Auto click continue watch on youtube
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @grant        none
// @include      https://www.youtube.com/*
// ==/UserScript==

(function () {
    'use strict';

    (function close() {
        try {
            document.getElementById("confirm-button").children[0].children[0].children[0].click();
            document.getElementsByClassName("style-scope ytd-popup-container")[0].removeChild(document.getElementById("toast"))
        } catch (e) {}
        setTimeout(close, 1000);
    })();

})();

Enjoy

About

Youtube fix for 'continue watching' feature

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published