// ==UserScript==
// @name         隐藏含stickthread的tbody
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  隐藏ID中包含stickthread的tbody元素
// @author       Your Name
// @match        https://*.pcbeta.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // 选择所有tbody元素
    const tbodies = document.getElementsByTagName('tbody');

    // 遍历并隐藏ID包含'stickthread'的tbody
    for (let tbody of tbodies) {
        if (tbody.id && tbody.id.includes('stickthread')) {
            tbody.style.display = 'none';
        }
    }
})();

 

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据