Greasy Fork is available in English.

anime1.me - Auto Unmuted

4/6/2024, 5:28:51 PM

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name        anime1.me - Auto Unmuted
// @namespace   UserScripts
// @match       https://anime1.me/*
// @grant       none
// @version     1.0
// @author      -
// @description 4/6/2024, 5:28:51 PM
// @license MIT
// ==/UserScript==


document.addEventListener('play', function (evt) {

    const target = evt.target;
    if (!(target instanceof HTMLVideoElement)) return;
    if (target.duration < 59) return;
    if (target.currentTime > 0.2) return;
    if (target.muted) return;
    target.muted = false;

}, true)