StackOverflow auto expand comments

Automatically expands all StackOverflow comments

目前为 2018-11-27 提交的版本。查看 最新版本

// ==UserScript==
// @name         StackOverflow auto expand comments
// @namespace    http://tampermonkey.net/
// @version      0.1
// @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() {
        var expandLinks = document.getElementsByClassName('js-show-link comments-link');
        for (var i = 0; i < expandLinks.length; i++)
        {
            expandLinks[i].click();
        }
    };
})();

QingJ © 2025

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