Youtube Auto Continue

try to take over the world!

  1. // ==UserScript==
  2. // @name Youtube Auto Continue
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.1
  5. // @description try to take over the world!
  6. // @author ahkui <ahkui@outlook.com>
  7. // @match https://*.youtube.com/watch*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. setInterval(function() {
  15. if(document.querySelector('#confirm-button') !== null) {
  16. document.querySelector('#confirm-button').click()
  17. } else if(document.querySelector('[dialog-confirm]') !== null) {
  18. document.querySelector('[dialog-confirm]').click()
  19. }
  20. }, 100)
  21. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址