Tampermonkey: de-clutter your PERPHeads forum experience

Messages
901
Reaction score
2,533
Points
790
Location
Netherlands
Do you hate that your shoutbox has turned into a rainbow? Or that the name of some people has turned into a glitter bomb?
mgQ7Nyr.jpg


Well then, install Tampermonkey (Chrome, Firefox) for your browser and add this script to remove all the clutter!

You can use this script for both dark and light mode.

Code:
// ==UserScript==
// @name         Shoutbox de-clutterer
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  Removes clutter
// @author       Riekelt
// @match        https://perpheads.com/*
// @icon         https://www.google.com/s2/favicons?domain=perpheads.com
// @grant    GM_addStyle
// @run-at   document-start
// ==/UserScript==

GM_addStyle(`
.username--style63, .username--style61, .username--style11, .username--style14, .username--style68 { background: none !important; }
.bbWrapper > span { color: inherit !important; }
.bbCodeBlock-content > div > span { color: inherit !important; }
.username--style67 { color: inherit !important; font-weight: inherit !important; }
img[src="https://i.imgur.com/HC7oF7L.png"] { width: 0; height: 0; padding: 30px 0 0 113px; background: url("https://i.imgur.com/stfRl5k.png") no-repeat 0 0 !important; }
.contentRow-fader { display: none; }
`);

And your shoutbox will look like this:
0xcYPqB.jpg
 
Last edited:
Messages
901
Reaction score
2,533
Points
790
Location
Netherlands
Updated the script with a few improvements for 0.2:
Code:
- Removed sparkly bg for Owner and Developer style, in addition to the Community Manager style
- Removed confusing color for Chief of Department style
- Added support for both dark and light mode in the same script
 
Messages
2,363
Reaction score
4,477
Points
1,205
do you think I spent years working my way through the staff ranks from enforcer to community manager just to take away my SPARKLES!!!!!!
 
Messages
2,615
Reaction score
4,231
Points
845
im going to combat this by creating my own greasemonkey script that adds color!

jk, nice work!
 
Messages
901
Reaction score
2,533
Points
790
Location
Netherlands
Then I will make the selectors element-order based instead of classes. Don't start this war, many browsers will die.
 
Messages
2,615
Reaction score
4,231
Points
845
I will gather all the autists and sue you under the Americans with Disabilities Act, and The Equality Act of 2010 for overloading me with all these colors!
 
Messages
901
Reaction score
2,533
Points
790
Location
Netherlands
Since I've been annoying myself again, updated to 0.4 with a new feature:
Code:
- Made it so quoted text now also resets the font color to the default theme color
 
Top