zoro autofocus

After the you finish an episode, zoro automatically goes to the next episode but the video player loses focus. This script focuses on the video player automatically for you. (you can use keyboard shortcuts without clicking on the video player).

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         zoro autofocus
// @namespace    https://greasyfork.org/en/users/10118-drhouse
// @version      5.39
// @description  After the you finish an episode, zoro automatically goes to the next episode but the video player loses focus. This script focuses on the video player automatically for you. (you can use keyboard shortcuts without clicking on the video player).
// @match        https://embed.vodstream.xyz/*
// @match        https://rapid-cloud.co/*
// @match        https://filemoon.sx/*
// @match        https://zoro.to/watch/*
// @match        https://animeheaven.ru/watch/*
// @match        https://animedao.to/watch/*
// @match        https://allanime.to/watch/*
// @match        https://animixplay.tube/*
// @match        https://sanji.to/*
// @include      https://*.123animes.*/anime/*
// @match        https://animehub.ac/watch/*
// @match        https://anihdplay.com/*
// @include      https://gogoanime.*
// @include      https://*.animeshow.*/*
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @grant        GM_getValue
// @author       agent-324
// @license      CC-BY-NC-SA-4.0
// @icon         https://www.google.com/s2/favicons?domain=zoro.to
// ==/UserScript==


(function($){

        const myInterval = setInterval(myTimer, 1000);

        function myTimer() {

                    $('div.jw-icon:nth-child(1)')[0].click()
                    clearInterval(myInterval);

    }
})(jQuery);