您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the "Dont use Ad Blocker" Messages on some sites
当前为
- // ==UserScript==
- // @name Dont Use AdBlock - Killer
- // @namespace MegaByteGreaseMonkeyDUABK
- // @description Removes the "Dont use Ad Blocker" Messages on some sites
- // @include http://tempostorm.com/*
- // @include http://www.tempostorm.com/*
- // @include https://tempostorm.com/*
- // @include https://www.tempostorm.com/*
- // @include http://agar.io/*
- // @include http://www.agar.io/*
- // @include https://agar.io/*
- // @include https://www.agar.io/*
- // @include http://chip.de/*
- // @include http://www.chip.de/*
- // @include https://chip.de/*
- // @include https://www.chip.de/*
- // @version 2.1
- // @grant GM_addStyle
- // ==/UserScript==
- if(!('contains' in String.prototype)) {
- String.prototype.contains = function(str, startIndex) {
- return -1 !== String.prototype.indexOf.call(this, str, startIndex);
- };
- }
- var site = window.location.href || document.URL;
- if(site.contains("tempostorm.com")) remove = ".ad, .ad-wrap, .adblock";
- else if(site.contains("agar.io")) remove = "#adbg, [data-itr*=ad]";
- else if(site.contains("chip.de")) remove = "#ads, #adunit";
- if(remove !== undefined) {
- GM_addStyle(
- remove + " { \
- display: none !important; \
- visibility: hidden !important; \
- width: 0px !important; \
- height: 0px !important; \
- }"
- );
- console.info("Dont Use AdBlock - Killer was active [identification: " + remove + "].");
- }