Hide Spoiler Titles on Reddit (Written via ChatGPT)

Hides titles of posts marked as spoilers on Reddit. Includes a button that toggles the concealment on/off, and settings that allows users to choose between two concealment styles (blur and censor bar). Toggle and settings are persistent.

作者
TheZealot
今日安裝
0
安裝總數
1
評價
0 0 0
版本
1.0.2
建立日期
2025-02-23
更新日期
2025-02-24
尺寸
11.2 KB
授權條款
MIT
腳本執行於

Hide Spoiler Titles on Reddit (Written via ChatGPT)


DISCLAIMER: THIS SCRIPT WAS WRITTEN USING CHATGPT. ISSUES MAY OCCUR. USE IT AT YOUR OWN RISK.


Tired of seeing posts with spoilery titles even if the post is marked as a spoiler? Then this script might be for you. I noticed that while there is an existing script that does this for Old Reddit (https://greasyfork.org/en/scripts/27404-blur-title-reddit), there is none for the current Reddit layout. Seeing as there was none, and with me having little to no coding knowledge, I asked ChatGPT to make this script and see how it goes.


FEATURES:

This script hides the titles of posts marked as a spoiler by either blurring the title or covering it with a censor bar. The title gets shown when you hover your cursor over the title.

It also adds a button located near the top-right corner of the page which toggles the concealment of spoiler titles on or off. The button disappears when an image is opened, and reappears when the image is closed.

It also has settings that can be accessed via the Tampermonkey menu where you can select between two concealment styles (blur and censor bar).

Toggle and settings are persistent and carry over in new tabs and browsing sessions (for this to work in private browsing, set "Store data in incognito mode" to "Permanent" via Tampermonkey settings).


NOTES / CURRENT ISSUES:

1. Does not work on Old Reddit. Use this instead: https://greasyfork.org/en/scripts/27404-blur-title-reddit. Both scripts work even if both are installed.

2. Only tested on Brave, Google Chrome, Microsoft Edge, and Mozilla Firefox.

3. Not tested on mobile (will probably not add mobile support).

4. Titles only become hidden when the page is fully loaded.

5. May or may not break when Reddit does another massive UI update.

6. Largely written by an AI (ChatGPT).