您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A user script to show feed favicons in Feedly Title-Only View.
当前为
// ==UserScript== // @name Feedly Faviconize List // @namespace jmln.tw // @version 0.1.0 // @description A user script to show feed favicons in Feedly Title-Only View. // @author Jimmy Lin // @license MIT // @homepage https://github.com/jmlntw/feedly-faviconize-list // @supportURL https://github.com/jmlntw/feedly-faviconize-list/issues // @match *://*.feedly.com/* // @compatible firefox // @compatible chrome // @compatible opera // @run-at document-end // @grant GM_addStyle // ==/UserScript== /* global GM_addStyle */ GM_addStyle('.GM_favicon { margin-right: 0.5em; vertical-align: middle; }') const observer = new window.MutationObserver(mutations => { mutations.forEach(mutation => { const target = mutation.target if (target.classList.contains('entry')) { if (!target.classList.contains('GM_faviconize')) { const source = target.querySelector('a.source') if (source) { const domain = source.href.replace(/^https?:\/\/(?:www.)?([^/:]+).*/i, '$1') const favicon = document.createElement('img') favicon.src = `https://www.google.com/s2/favicons?domain=${domain}&alt=feed` favicon.classList.add('GM_favicon') source.insertBefore(favicon, source.firstChild) } } target.classList.add('GM_faviconize') } }) }) observer.observe(document.getElementById('box'), { childList: true, subtree: true })
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址