您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Replace specific favicon with a old one on cnblogs.
当前为
// ==UserScript== // @name Old Cnblogs Favicon Back // @namespace http://tampermonkey.net/ // @version 1.0.1 // @description Replace specific favicon with a old one on cnblogs. // @author aspen138 // @icon https://assets.cnblogs.com/favicon_v3_preview.ico?v=1 // @match *://*.cnblogs.com/* // @grant none // @run-at document-start // @license MIT // ==/UserScript== const FAVICON_URL_V3 = 'https://assets.cnblogs.com/favicon_v3_preview.ico?v=1'; const FAVICON_URL_COMMON = 'https://common.cnblogs.com/favicon.svg'; const FAVICON_URL_V3P2 = 'https://assets.cnblogs.com/favicon_v3_2.ico'; (function() { 'use strict'; // Identify the favicon element by its rel="icon" attribute var favicon = document.querySelector('link[rel="icon"]'); // Check if the favicon exists if (favicon) { // Replace the href attribute with the new favicon URL favicon.href = FAVICON_URL_V3; } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址