您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide the ads on onvista.de
// ==UserScript== // @name Hide ads on onvista.de // @match https://www.onvista.de/* // @license GPL-v3 // @namespace https://github.com/philippludwig // @description Hide the ads on onvista.de // @version 1 // @grant none // ==/UserScript== window.onload = function() { window.setTimeout(function() { divs = document.getElementsByTagName("div"); for(var i=0; i<divs.length; i++) { var height = divs[i].clientHeight; var width = divs[i].clientWidth; if (width == 974 && height == 270) { divs[i].hidden = true; } if (width == 300 && height == 571) { divs[i].hidden = true; } } }, 100); };