StackOverflow auto expand comments

Automatically expands all StackOverflow comments

目前為 2025-07-04 提交的版本,檢視 最新版本

// ==UserScript==
// @name         StackOverflow auto expand comments
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Automatically expands all StackOverflow comments
// @author       red9350
// @match        https://stackoverflow.com/questions/*/*
// @grant        none
// ==/UserScript==

//https://stackoverflow.com/questions/*/*
(function() {
    "use strict";

    window.onload = function() {
        const expandLinks = document.querySelectorAll('.js-show-more-comments .js-show-more-button');
        for (var i = 0; i < expandLinks.length; i++)
        {
            expandLinks[i].click();
        }
    };
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址