動畫瘋自動點擊同意

每次開啟動畫時自動點擊分級畫面的「同意」按鈕

目前為 2024-05-11 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name        動畫瘋自動點擊同意
// @namespace   http://tampermonkey.net/
// @version     1.0.0
// @description 每次開啟動畫時自動點擊分級畫面的「同意」按鈕
// @author      DoReMi
// @match       https://ani.gamer.com.tw/animeVideo.php?sn=*
// @grant       unsafeWindow
// @require     https://code.jquery.com/jquery-3.4.1.slim.min.js#md5=d9b11ca4d877c327889805b73bb79edd,sha256=a5ab2a00a0439854f8787a0dda775dea5377ef4905886505c938941d6854ee4f
// @require     https://cdn.jsdelivr.net/gh/CoeJoder/[email protected]/waitForKeyElements.js#md5=3a059ea8e001d1b9d5d04cabe475f9d4,sha=69f27dca35a1863f5ccd91ff8f30bba88a5661df
// @license     MIT
// ==/UserScript==

/* globals waitForKeyElements */

(function() {
    'use strict';

    waitForKeyElements(".choose-btn-agree", btn => {
        btn.click();
        console.log("<info> clicked agree button.");
    }, true);
})();