您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
sessizlik iyidir
- // ==UserScript==
- // @name alice
- // @namespace oba
- // @version 2.0
- // @description sessizlik iyidir
- // @author alyy
- // @match https://www.oba.gov.tr/egitim/oynatma/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=gov.tr
- // @grant none
- // @license MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- window.onblur = () => {};
- function videoLink(){
- return document.getElementsByClassName("progress-icon")[0].parentElement;
- };
- function videoPlayer(){
- return document.getElementById("video_html5_api");
- };
- videoPlayer().muted = true;
- setTimeout(function() {
- videoPlayer().play();
- }, 5000);
- videoPlayer().onended = function() {
- console.log("Sonraki videoya geçiliyor");
- videoLink().click();
- videoPlayer().play();
- };
- setTimeout(function() {
- location.reload();
- }, 25*60*1000);
- })();