// ==UserScript==
// @name         ÖBA Auto Watcher
// @namespace    
https://www.bilgisayarbilisim.net
// @version      1
// @description  ÖBA Videolarını, Bilgisayara Dokunmadan Arka Arkaya İzlemenizi Sağlar
// @author       Buğra CANATA'nın scripti (silinmiş bulunup geri yüklendi)
// @match        
https://www.oba.gov.tr/*
// @icon         
https://www.google.com/s2/favicons?sz=64&domain=gov.tr
// @grant        none
// @license      MIT
// ==/UserScript==
(function() {
    'use strict';
    window.onblur = () => {};
    var video = document.getElementById("video_html5_api");
    video.muted = false;
    setTimeout(function() {
        video.play();
    }, 5000);
    video.onended = function() {
        console.log("Video bitti, bir sonrakine geçiliyor");
        document.getElementsByClassName("progress-icon")[0].parentElement.click();
        document.getElementById("video_html5_api").play();
    };
    setTimeout(function() {
        location.reload();
    }, 25*60*1000);
})();