您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script modifies the display of played podcast links and the adjacent separator elements.
// ==UserScript== // @name Hide played Episodes // @namespace Violentmonkey Scripts // @match https://podcasts.google.com/* // @grant none // @version 1.0.1 // @author Alehaaa // @license MIT // @description This script modifies the display of played podcast links and the adjacent separator elements. // ==/UserScript== (function() { 'use strict'; // Delay execution for a short period (in milliseconds) to allow the page to settle setTimeout(function() { // Select all <a> elements with the specified href const feedLinks = document.querySelectorAll('a[href^="./feed/"]'); // Loop through each feed link feedLinks.forEach(link => { // Check if the link's content contains the comment <!-- Draw the green tick. --> if (link.innerHTML.includes("<!-- Draw the green tick. -->")) { // Set the opacity of the <a> element and its next sibling <div> to 50% link.style.display = "none"; const siblingDiv = link.nextElementSibling; if (siblingDiv && siblingDiv.classList.contains("GdsSec")) { siblingDiv.style.display = "none"; } } }); }, 1000); // Delay for 1 second (adjust as needed) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址