全显文字

ShowAllText

// ==UserScript==
// @name         全显文字
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  ShowAllText
// @author       Your Name
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // 监听页面加载完成事件
    window.addEventListener('load', function() {
        // 在页面加载完成后5秒执行函数
        setTimeout(function() {
            // 获取文档中的所有元素
            var allElements = document.querySelectorAll('*');
            allElements.forEach(function(element) {
                // 移除指定的样式
                element.style.removeProperty('white-space');
                element.style.removeProperty('overflow');
                element.style.removeProperty('text-overflow');
                element.style.removeProperty('display');
            });
        }, 5000); // 5000毫秒 = 5秒
    });
})();