您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Lad lige være. Vil jeg bruge adblocker, er det det jeg gør.
// ==UserScript== // @name Anti Anti Adblocker // @namespace http://tampermonkey.net/ // @version 0.1 // @description Lad lige være. Vil jeg bruge adblocker, er det det jeg gør. // @author ;) // @match http://politiken.dk/* // @match http://ekstrabladet.dk/* // @grant none // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== (function() { 'use strict'; var ind = -1; $("body > div").each(function( index ) { if ($( this ).css('position') == 'fixed' && $( this ).css('z-index') >= 10000){ ind = index; } }); if (ind != -1){ console.log('found this: '+$("body > div").children()[ind]); $("body > div")[ind].remove(); $("body").css('overflow','auto'); } else { location.reload(); } })();