Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
KissManga Cloudflare Challenge Anti-AdBlock Counter-Tamper.
// ==UserScript==
// @name KissManga - AdBlock Tampered Cloudflare Challenge Bypass
// @version 0.11
// @author Manciuszz
// @match *://*
// @grant unsafeWindow
// ==/UserScript==
(function() {
'use strict';
let footprint = document.querySelector("div[id^='cf-dn']");
if (footprint) {
document.cookie.split(";").forEach(function(c) { document.cookie = c.replace(/^ +/, "").replace(/=.*/, "=;expires=" + new Date().toUTCString() + ";path=/"); });
unsafeWindow.t =;
unsafeWindow.k =;
Copy link

is there an easy way to get this to work with other sites that are using cloudflare?

It really depends on the website and their cloudflare implementation. If the tampering done was identical to this, then simply adding a new line like this

// @match ://

will solve the issue... but that's highly unlikely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment