https://github.com/brobert83/auto-click-youtube-continue-watching
Youtube fix for 'continue watching' feature
https://github.com/brobert83/auto-click-youtube-continue-watching
Last synced: 2 months ago
JSON representation
Youtube fix for 'continue watching' feature
- Host: GitHub
- URL: https://github.com/brobert83/auto-click-youtube-continue-watching
- Owner: brobert83
- Created: 2018-10-27T20:36:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-03T14:18:39.000Z (over 7 years ago)
- Last Synced: 2025-01-26T02:54:18.557Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1000 Bytes
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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