您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
让你无弹窗、无限制的阅读经济学人。
// ==UserScript== // @name 经济学人无限制助手 // @namespace https://github.com/esmusssein777/awesome-script // @version 1.1 // @description 让你无弹窗、无限制的阅读经济学人。 // @author Ligz // @match *.economist.com/* // @require https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js // @grant none // ==/UserScript== (function() { 'use strict'; console.log('the economist script run!') let ad = ['fe-blogs__top-ad-wrapper','#piano__in-line-regwall','#bottom-page-wrapper','ribbon__clickable-banner','[aria-label="Advertisement"]'] setInterval(() => { ad.forEach(item => { if ($(item)) {$(item).remove();} }) }, 1000) let oldContent = ""; if ($('.blog-post__text')) { oldContent = $('.blog-post__text').html(); setInterval (() => { let newContent = $('.blog-post__text').html(); if (newContent !== oldContent) { $('.blog-post__text').html(oldContent); } }, 100) } })();