Bagi/Keran AntiAntiAdblock

Scripts that removes the Disable Adblock message for Bagi/Keran

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name        Bagi/Keran AntiAntiAdblock
// @description Scripts that removes the Disable Adblock message for Bagi/Keran
// @author      LgamerLIVE
// @match       https://keran.co/*
// @match       https://bagi.co.in/*
// @grant       none
// @version     1.0
// @run-at      document-start
// @namespace https://greasyfork.org/users/706128
// ==/UserScript==
//
// Bagi/Keran AntiAntiAdblock
//
// How does it work?
// All block lists include a reference to "adex.js" because it's a common name for JavaScript files that are associated with serving ads.
// Knowing this, Keran/Bagi are using the a code which creates a hidden div to a file called "adex.js".
// Then they simply detect if the script is loaded or not.
//
// This script makes the file again, making it impossible for them to detect (:
var e=document.createElement('div');e.id='AntiAdblock';e.style.display='none';document.body.appendChild(e);
// Note that this script only works for Bagi/Keran and is not universal.