您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove top and bottom popups of Economists, right sidebar ads and the limit on the number of articles you can view for free on The Economist's site.
// ==UserScript== // @name Remove Useless Segments of the Ecomonist // @namespace antisunny // @description Remove top and bottom popups of Economists, right sidebar ads and the limit on the number of articles you can view for free on The Economist's site. // @include http://*.economist.com/* // @version 0.11 // @require http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js // ==/UserScript== (function(A){ document.cookie="ec_limit=allow"; A(".fe-blogs__top-ad-wrapper, .main-content__related-column, #piano__in-line-paywall").remove(); A(".blog-post__text").css("display","block"); var window_w = A(window).width(); if (window_w >= 1114) { A(".main-content__main-column").css({"width":"70.999%"}); } else if (window_w >= 960) { A(".main-content__main-column").css({"width":"90.999%"}); } })(jQuery);