Reddit Shitheads

"Redditors are shitheads"

// ==UserScript==
// @name        Reddit Shitheads
// @version     1.01
// @grant       none
// @match       *://*.reddit.com/*
// @namespace   "finbarfin"
// @description "Redditors are shitheads"
// ==/UserScript==

/* Might break the site, it sure as hell was in version 1.0 lol, didn't even notice for several days though */
 
setInterval(function() {
  var comments = document.querySelectorAll(".Comment p, [data-test-id='post-content'] a[data-click-id='body'], [data-test-id='post-content'] div[data-click-id='text']");
                                        
  comments.forEach(function(comment) {
    comment.innerHTML = comment.innerHTML.replace(/([Aa]s a )(\w+),*/,"$1shithead,");
    comment.innerHTML = comment.innerHTML.replace(/(\w+) here[,.]*/,"Shithead here");
  });
},1000);

QingJ © 2025

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