您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
一些优化
当前为
// ==UserScript== // @name Feedly 优化 // @namespace https://feedly.com // @version 2024.07.14 // @description 一些优化 // @author Ejin // @match https://feedly.com/* // @grant none // ==/UserScript== // 2024.07.14 弱化存档分类的加粗,隐藏未读数。 // 2024.02.23 First-read,跳转到第一个已读项 (function() { 'use strict'; setInterval(()=>{//1.route // 1.1 First-read if(location.href.indexOf("feedly.com/i/subscription/feed") != -1){ if(document.querySelector(".detail+.list-tags") != null && document.querySelector(".detail+.list-tags").innerHTML.indexOf("First-read") == -1 ){ document.querySelector(".detail+.list-tags").innerHTML += "<a href='javascript:;' id='First-read'>/First-read</a>"; document.getElementById("First-read").addEventListener('click',()=>{ var FunID=setInterval(()=>{//First-read Function document.getElementById("First-read").style.display="none"; if(document.querySelector("html").getAttribute("FunURL") != null){ if(document.querySelector("html").getAttribute("FunURL") != location.href){ clearInterval(document.querySelector("html").getAttribute("FunID")); document.querySelector("html").removeAttribute("FunID"); document.querySelector("html").removeAttribute("FunURL"); return; } } if(document.querySelectorAll(".EntryTitle").length > 0){ if(document.querySelectorAll(".EntryTitle--read").length==0){ document.querySelectorAll(".EntryTitle")[document.querySelectorAll(".EntryTitle").length-1].scrollIntoView(); } else { document.querySelectorAll(".EntryTitle--read")[0].scrollIntoView(); clearInterval(document.querySelector("html").getAttribute("FunID")); document.querySelector("html").removeAttribute("FunID"); document.querySelector("html").removeAttribute("FunURL"); } } },1000);//setInterval document.querySelector("html").setAttribute("FunID",FunID); document.querySelector("html").setAttribute("FunURL",location.href); }); } } //end 1.1 },500);//end 1.route // 2.弱化存档分类的加粗,隐藏未读数。 setInterval(() => { //取消加粗 document.querySelectorAll(".LeftnavListRow__text--bold").forEach(item=>{ if(item.innerHTML=="存档"){ item.className=item.className.replace("LeftnavListRow__text--bold",""); } }); if(document.querySelector('div[aria-label^="Mark 存档"')){ if(document.querySelector('div[aria-label^="Mark 存档"').style.display!="none"){ document.querySelector('div[aria-label^="Mark 存档"').style.display="none"; } } }, 10000); })(); //end all
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址