reddit: emulate subscription to subreddit

当前为 2016-11-30 提交的版本,查看 最新版本

// ==UserScript==
// @name        reddit: emulate subscription to subreddit
// @namespace   mailto:[email protected]
// @include     *reddit.com/r/*
// @version     1.0
// @run-at      document-start
// @grant       none
// @description:en emulate subscription to a subreddit by adding the subscriber class
// ==/UserScript==

document.addEventListener("DOMContentLoaded", function() {
    var body = document.getElementsByTagName("body");
    body[0].className += " subscriber";
});

QingJ © 2025

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