您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
clean Sina mail ads
// ==UserScript== // @name cleanSinaMailAds // @namespace https://codernotes.club/ // @version 0.17 // @description clean Sina mail ads // @author [email protected] // @match *.sina.com.cn/* // @match *.sinaimg.cn/* // @icon https://www.google.com/s2/favicons?sz=64&domain=sina.com.cn // @grant none // @license MIT // @run-at document-body // ==/UserScript== (function() { 'use strict'; var style = document.createElement('style'); style.innerText = [ '.subCProfile + div,flow-ad-slot, ins,.sinaad-toolkit-box,.insertAd,[class*="sinaad"],[id^="BAIDU_SSP"],.extendAd{display:none!important}', '.wui-DeckPane .wui-PaneAppContent .pane_mail_pad .subCBody .mailMainArea{width:calc(100% -20px) !important}' ].join('') document.body.previousElementSibling.appendChild(style) })();