Anti-Adblock Caoliu

解除草榴反广告过滤限制

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name			Anti-Adblock Caoliu
// @namespace		[email protected]
// @description		解除草榴反广告过滤限制
// @author			依然独特
// @version			1.0.0
// @grant			unsafeWindow
// @run-at			document-start
// @require			https://greasyfork.org/scripts/18715-hooks/code/Hooks.js?version=661566
// @include			*://t66y.com/*
// @include			*://*.t66y.com/*
// @match			*://t66y.com/*
// @match			*://*.t66y.com/*
// @license			BSD 3-Clause
// ==/UserScript==

( function () {
	"use strict";

	Hooks.set( unsafeWindow, "jQuery", function ( target, propertyName, ignored, jQuery ) {
		Hooks.method( jQuery.fn, "ready", function ( target, methodName, method, thisArg, args ) {
			unsafeWindow[ args[ 0 ].toString().match( /^\s*(.+)\(\);?$/m )[ 1 ] ] = function () { };

			return Hooks.Reply.method( [ target, methodName, method, thisArg, args ] );
		} );

		return Hooks.Reply.set( arguments );
	} );
} )();