您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A simple method of bypassing YouTube's AdBlock Detection using YouTube Enhancer's "Remove Ads" button. Does not require the use of any external website like similar tools do :)
当前为
// ==UserScript== // @name YouTube Anti-AdBlock Bypass via YouTube Enhancer // @namespace https://e-z.bio/yaw // @version 1.1 // @description A simple method of bypassing YouTube's AdBlock Detection using YouTube Enhancer's "Remove Ads" button. Does not require the use of any external website like similar tools do :) // @author Yaw // @match https://www.youtube.com/* // @run-at document-start // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; var searchInterval = 800 function checkForButton() { const currentURL = window.location.href; // match pattern url - credits: Zion if (/https:\/\/www\.youtube\.com\/watch\?.*/.test(currentURL)) { const button = document.getElementById("efyt-not-interested"); if (button) { button.click(); } else { console.log("[Bypass] Failed to find button. Retrying in ", searchInterval, " ms") } } } setInterval(checkForButton, searchInterval); })();