您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
适用于: ✅有道云笔记网页版https://note.youdao.com/
当前为
// ==UserScript== // @name 有道云笔记无广告 // @version 20250222 // @author Moshow郑锴 // @homepage https://zhengkai.blog.csdn.net/ // @namespace noteyoudaonoad // @license MIT // @description 适用于: ✅有道云笔记网页版https://note.youdao.com/ // @include *://note.youdao.com/web/* // ==/UserScript== (function () { 'use strict'; function removeAd(){ // 删除所有匹配选择器的 ad-component 元素 // by https://zhengkai.blog.csdn.net/ document.querySelectorAll('#flexible-list-left > div:nth-child(2) > div > ad-component').forEach(function(element) { element.remove(); }); // 查找匹配选择器的元素并移除 adListTag class // by https://zhengkai.blog.csdn.net/ document.querySelectorAll('#file-outer').forEach(function(element) { element.classList.remove('adListTag'); }); } removeAd(); })();