ÖBA Vidoe Auto Watcher

ÖBA videoları bittikten sonra otomatik sonraki videoya geçer..

  1. // ==UserScript==
  2. // @name ÖBA Vidoe Auto Watcher
  3. // @namespace none
  4. // @version 1.2
  5. // @description ÖBA videoları bittikten sonra otomatik sonraki videoya geçer..
  6. // @author Osman TÜRKMEN
  7. // @match https://www.oba.gov.tr/*
  8. // @icon none
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12. (function() {
  13. 'use strict';
  14. window.onblur = () => {};
  15. function videoLink(){
  16. return document.getElementsByClassName("progress-icon")[0].parentElement;
  17. };
  18. function videoPlayer(){
  19. return document.getElementById("video_html5_api");
  20. };
  21. videoPlayer().muted = true;
  22.  
  23. setTimeout(function() {
  24. videoPlayer().play();
  25. }, 5000);
  26.  
  27. videoPlayer().onended = function() {
  28. console.log("Sonraki videoya geçiliyor");
  29. videoLink().click();
  30. videoPlayer().play();
  31. };
  32. setTimeout(function() {
  33. location.reload();
  34. }, 25*60*1000);
  35. })();

QingJ © 2025

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