您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
运行时期选document-body,可移除CSDN系统通知小红点,如需清空系统通知请将脚本中第二个请求取消注释
// ==UserScript== // @name 移除CSDN系统通知小红点 // @namespace https://h3110w0r1d.com/ // @version 0.2 // @description 运行时期选document-body,可移除CSDN系统通知小红点,如需清空系统通知请将脚本中第二个请求取消注释 // @author h3110w0r1d // @match https://*.csdn.net/* // @grant none // ==/UserScript== (function() { 'use strict'; $.ajax({ type: 'POST', url: "https://msg.csdn.net/v1/web/message/view/message", contentType:'application/json;charset=UTF-8', data: '{"type":4}', xhrFields: { withCredentials:true }, success: function (data) { ; } }); /* $.ajax({ type: 'POST', url: "https://msg.csdn.net/v1/web/message/delete/all", contentType:'application/json;charset=UTF-8', data: '{"type":4}', xhrFields: { withCredentials:true }, success: function (data) { ; } }); */ })();