您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
哈哈删除广告,保留今日查看笑话个数和,哈友排行榜
// ==UserScript== // @name 哈哈删除广告 haha.mx // @description 哈哈删除广告,保留今日查看笑话个数和,哈友排行榜 // @include http://www.haha.mx/joke/* // @require http://cdn.bootcss.com/jquery/1.11.3/jquery.js // @grant ao // @version 1.1 // @namespace https://greasyfork.org/users/25818 // ==/UserScript== console.clear(); var e = $('.fl.sidebar'), v = e.children('div:not(.top-10,.ad-1)'); v.hide(); $('[class^="banner-ad-"]').hide(); function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } console.log('完成');