Greasy Fork

Auto OServer for AnimeParadise

Automatically set server to OServer (the superior server) on AnimeHeaven.ru

目前为 2020-09-03 提交的版本。查看 最新版本

// ==UserScript==
// @name         Auto OServer for AnimeParadise
// @version      0.3
// @description  Automatically set server to OServer (the superior server) on AnimeHeaven.ru
// @author       Lewis5441
// @match        https://animeheaven.ru/watch/*
// @grant        none
// @namespace https://greasyfork.org/users/684913
// ==/UserScript==

(function() {
    'use strict';
    $("#selectServer").attr("atrl", "oserver");
    $("select option").filter(function() {
        //may want to use $.trim in here
        return $(this).text().includes("oserver");
    }).prop('selected', true);
})();