How to hide user replies on QBN
- Started
- Last post
- 3 Responses
- Salarrue
Life’s too short to engage with trolls – let your feed be filled with real conversations, not bots and noise. I built this with ChatGPT, and it works.
ヽ(`Д´)⊃━☆゚. * ・ 。゚,
How to Hide Posts from Specific Users on QBN Topics
If you want to hide posts from specific users on QBN’s topic pages (such as https://www.qbn.com/topics/...), you can use this simple script that automatically hides posts from unwanted users. Follow these steps to set it up:
Steps to Install the Script using Tampermonkey
1. Install Tampermonkey:
• If you don’t have Tampermonkey installed, you can get it from the official website:
https://www.tampermonkey.net/2. Create a New Script:
• After installing Tampermonkey, click on the Tampermonkey iconin your browser’s toolbar.
• Select Create a New Script.3. Add the Script:
• Delete the default template and replace it with the following script:4. Save the Script:
• Click on File > Save (or just press Ctrl+S on Windows or Cmd+S on Mac).5. Test the Script:
• Visit any topic page on QBN, such as https://www.qbn.com/topics/....• Posts from users listed in the ignoredUsers array (e.g., Salarrue, user2, user3) should be hidden automatically.
Important: If the posts aren’t hidden, make sure you check the browser console for any error messages or debugging output. If there are no errors, the script is working fine!How to Add More Users to Ignore:
• If you want to ignore additional users, open the script in Tampermonkey and modify the ignoredUsers array:const ignoredUsers = ['Salarrue', 'user2', 'user3', 'newUser1', 'newUser2']; // Add more users here
• After making changes, click File > Save to update the script.
How It Works:
• MutationObserver: This ensures that new posts added dynamically are also checked and hidden if they belong to the users in the ignoredUsers list.
• The script runs automatically when the page is loaded and also tracks dynamically added posts to ensure they are hidden too.
Troubleshooting:
• “No script is running” issue: This could happen if the script is not matched to the page. Double-check the @match directive, especially the URL pattern.
• Not hiding posts: Ensure that the correct container is being targeted. Inspect the page and verify the selector for the container that holds the posts. If the .replies selector is incorrect, adjust it to match the correct parent element.
- Salarrue-2
lol @ 'real conversations'
- palimpsest13
- < Or that, I suppose.Continuity
- Best not to leave the house also.mort_
- ********-2
You can do it via the reverse profile settings it’s just a little hard to find