TryNinja (OP)
Legendary
Offline
Activity: 3234
Merit: 8339
♻️ Automatic Exchange
|
 |
May 09, 2025, 04:13:44 AM |
|
So, we can ignore users through our ignore list, and when they post something, we won't see their posts. The problem is that we still see their quotes, so sometimes we're reading a topic and we get their bs jumpscared on our face because another user replied to them. To fix that, I wrote a small usercript that fetches your ignore list and removes the entire quote content when they're from a user on that list. The ignore list is cached for 1 hour.  1. Download the Tampermonkey or ViolentMonkey extension for PC, Kiwi Browser for Android. 2. Install the script: https://greasyfork.org/en/scripts/535425-full-ignore-bitcointalk-usersOr copy and paste a script with the source code: // ==UserScript== // @name Full Ignore bitcointalk users // @version 0.1 // @description Ignore quotes from users you already ignore on the forum // @author TryNinja // @match https://bitcointalk.org/* // @icon https://www.google.com/s2/favicons?sz=64&domain=bitcointalk.org // @grant GM_setValue // @grant GM_getValue
// ==/UserScript==
(async function () { 'use strict';
let list;
const isLogged = document.querySelector('#hellomember') !== null; if (!isLogged) return;
const getCachedList = () => { const cached = GM_getValue('ignoreListCache'); if (cached) { const parsed = JSON.parse(cached); const cacheDate = new Date(parsed.date); const oneHourAgo = new Date(Date.now() - 60 * 60 * 1000);
if (cacheDate > oneHourAgo) { return parsed; } } return null; };
const setCachedList = (list) => { return GM_setValue('ignoreListCache', JSON.stringify({ list, date: new Date().toISOString() })); };
const fetchIgnoreList = async () => { const res = await fetch('https://bitcointalk.org/index.php?action=profile;sa=ignprefs'); const html = await res.text(); const parser = new DOMParser(); const page = parser.parseFromString(html, 'text/html'); const ignoreListTextArea = page.querySelector('#ign_ignore_list'); const ignoreListUsers = ignoreListTextArea?.textContent?.split('\n'); return ignoreListUsers; };
const cached = getCachedList(); if (cached) { list = cached.list; } else { console.log('No cached ignore list, fetching now...') list = await fetchIgnoreList(); setCachedList(list); }
console.log('ignore list', { list });
const quoteHeaders = document.querySelectorAll('.post .quoteheader')
for (const quoteHeader of quoteHeaders) { const quoteBody = quoteHeader.nextElementSibling const authorMatch = quoteHeader.getHTML().match(/Quote from: (.*) on/) if (authorMatch && authorMatch[1]) { if (list.includes(authorMatch[1]) && quoteBody) { quoteBody.innerHTML = 'USER IS IGNORED' } } } })();
|
░░░░▄▄████████████▄ ░▄████████████████▀ ▄████████████████▀▄█▄ ▄███████▀▀░░▄███▀▄████▄ ▄██████▀░░░▄███▀░▀██████▄ ██████▀░░▄████▄░░░▀██████ ██████░░▀▀▀▀░▄▄▄▄░░██████ ██████▄░░░▀████▀░░▄██████ ▀██████▄░▄███▀░░░▄██████▀ ▀████▀▄████░░▄▄███████▀ ▀█▀▄████████████████▀ ▄████████████████▀░ ▀████████████▀▀░░░░ | | CCECASH | | | | ANN THREAD TUTORIAL |
|
|
|
Silentcursor
Jr. Member
Offline
Activity: 55
Merit: 19
|
 |
May 09, 2025, 04:48:37 AM |
|
First of all, this is a good initiative TryNinja. It looks simple but it's a powerful improvement to the forum experience. Being able to fully ignore users, including removing their quoted content, is a feature many members of the forum have wanted for years. I think I might be the first to install this on my device, though I don’t have anyone to ignore at the moment.  I have one observations though; Why did you decide to replace the quote instead of completing removing the quote in the script below? Instead of the Original if (list.includes(authorMatch[1]) && quoteBody) { quoteBody.innerHTML = 'USER IS IGNORED';
I tried this as it removes the quote block completely if (ignoreList.includes(authorMatch[1]) && quoteBody) { quoteHeader.parentElement.remove();
I suppose the outcome would be the same, I happened to make an observation.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3234
Merit: 8339
♻️ Automatic Exchange
|
 |
May 09, 2025, 04:57:56 AM |
|
I tried this as it removes the quote block completely if (ignoreList.includes(authorMatch[1]) && quoteBody) { quoteHeader.parentElement.remove();
I suppose the outcome would be the same, I happened to make an observation. Because if you remove the quote, you will probably think the guy replying to the ignored user is talking to someone else (like the OP). You still need the quote indicator to know he is replying to that guy.
|
░░░░▄▄████████████▄ ░▄████████████████▀ ▄████████████████▀▄█▄ ▄███████▀▀░░▄███▀▄████▄ ▄██████▀░░░▄███▀░▀██████▄ ██████▀░░▄████▄░░░▀██████ ██████░░▀▀▀▀░▄▄▄▄░░██████ ██████▄░░░▀████▀░░▄██████ ▀██████▄░▄███▀░░░▄██████▀ ▀████▀▄████░░▄▄███████▀ ▀█▀▄████████████████▀ ▄████████████████▀░ ▀████████████▀▀░░░░ | | CCECASH | | | | ANN THREAD TUTORIAL |
|
|
|
joker_josue
Legendary
Offline
Activity: 2058
Merit: 5846
**In BTC since 2013**
|
 |
May 09, 2025, 06:54:38 AM |
|
But won't that confuse the conversation even more?
I think that reading and responding to conversations with ignored users creates confusion for the reader. But then, I understand (+/-) who uses this feature.
|
| . BC.GAME | ███████████████ ███████████████ ███████████████ ███████████████ ██████▀░▀██████ ████▀░░░░░▀████ ███░░░░░░░░░███ ███▄░░▄░▄░░▄███ █████▀░░░▀█████ ███████████████ ███████████████ ███████████████ ███████████████ | ███████████████ ███████████████ ███████████████ ███████████████ ███░░▀░░░▀░░███ ███░░▄▄▄░░▄████ ███▄▄█▀░░▄█████ █████▀░░▐██████ █████░░░░██████ ███████████████ ███████████████ ███████████████ ███████████████ | ███████████████ ███████████████ ███████████████ ███████████████ ██████▀▀░▀▄░███ ████▀░░▄░▄░▀███ ███▀░░▀▄▀▄░▄███ ███▄░░▀░▀░▄████ ███░▀▄░▄▄██████ ███████████████ ███████████████ ███████████████ ███████████████ | │ │ | DEPOSIT BONUS .1000%. | GET FREE ...5 BTC... | │ │ | REFER & EARN ..$1000 + 15%.. COMMISSION | │ │ | Play Now |
|
|
|
shield132
Legendary
Offline
Activity: 2618
Merit: 1011
Metawin.com - Truly the best casino ever
|
 |
May 09, 2025, 09:04:10 AM |
|
So, we can ignore users through our ignore list, and when they post something, we won't see their posts. The problem is that we still see their quotes, so sometimes we're reading a topic and we get their bs jumpscared on our face because another user replied to them. To fix that, I wrote a small usercript that fetches your ignore list and removes the entire quote content when they're from a user on that list. The ignore list is cached for 1 hour. I've been waiting for that since day one. When I first used ignore option, I was curious about why I was still seeing ignored users in the thread, the only thing that ignore button did was that I couldn't see their post but when I was seeing ignored users in the thread, I was clicking on unignore button because I was intrigued by their posts. In my mind, the perfect ignore list should work like you modified it right now. I suggest theymos and PowerGlove to do the change on the forum's core ignore function and completely hide ignored users like it's in OP's script.
|
|
|
|
dzungmobile
|
 |
May 09, 2025, 04:48:35 PM |
|
I like your userscript but it is contradicts with this request. What Seems to be the issues with Members who are ignored for so long.This userscript will harm chances of ignored users to be seen through quotes and their second chances to be unignored will be considerable smaller. I mean your script is helpful but like all other things, it has pros and cons. Most shitposters don't change their posting styles so this script won't affect them at all. There are only few shitposters who actually change and improve their posting styles will dislike this script but it is not your fault.
|
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3234
Merit: 8339
♻️ Automatic Exchange
|
I like your userscript but it is contradicts with this request. What Seems to be the issues with Members who are ignored for so long.This userscript will harm chances of ignored users to be seen through quotes and their second chances to be unignored will be considerable smaller. I mean your script is helpful but like all other things, it has pros and cons. Most shitposters don't change their posting styles so this script won't affect them at all. There are only few shitposters who actually change and improve their posting styles will dislike this script but it is not your fault. If you're ignoring someone, it means you don't want to see their posts. It's a system design issue that we can see their quotes, my script just fixes that.  The user from your linked topic is complaining that he hasn't been accepted to any signature campaign. I don't think he is necessarily in anyone's ignore list.
|
░░░░▄▄████████████▄ ░▄████████████████▀ ▄████████████████▀▄█▄ ▄███████▀▀░░▄███▀▄████▄ ▄██████▀░░░▄███▀░▀██████▄ ██████▀░░▄████▄░░░▀██████ ██████░░▀▀▀▀░▄▄▄▄░░██████ ██████▄░░░▀████▀░░▄██████ ▀██████▄░▄███▀░░░▄██████▀ ▀████▀▄████░░▄▄███████▀ ▀█▀▄████████████████▀ ▄████████████████▀░ ▀████████████▀▀░░░░ | | CCECASH | | | | ANN THREAD TUTORIAL |
|
|
|
KingsDen
Legendary
Online
Activity: 1498
Merit: 1245
Goodnight, o_e_l_e_o 🌹
|
 |
May 09, 2025, 05:30:05 PM |
|
But won't that confuse the conversation even more?
I think that reading and responding to conversations with ignored users creates confusion for the reader. But then, I understand (+/-) who uses this feature.
It will actually distort the flow conversation. But I think no one cares. If someone finds a user annoying to be ignored, whatever message or information the user carries will also not matter to the person that ignored them. Congratulations to Tryninja and thanks for this beautiful problem solved.
|
|
|
|
R |
▀▀▀▀▀▀▀██████▄▄ ████████████████ ▀▀▀▀█████▀▀▀█████ ████████▌███▐████ ▄▄▄▄█████▄▄▄█████ ████████████████ ▄▄▄▄▄▄▄██████▀▀ | LLBIT | | | 4,000+ GAMES███████████████████ ██████████▀▄▀▀▀████ ████████▀▄▀██░░░███ ██████▀▄███▄▀█▄▄▄██ ███▀▀▀▀▀▀█▀▀▀▀▀▀███ ██░░░░░░░░█░░░░░░██ ██▄░░░░░░░█░░░░░▄██ ███▄░░░░▄█▄▄▄▄▄████ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | █████████ ▀████████ ░░▀██████ ░░░░▀████ ░░░░░░███ ▄░░░░░███ ▀█▄▄▄████ ░░▀▀█████ ▀▀▀▀▀▀▀▀▀ | █████████ ░░░▀▀████ ██▄▄▀░███ █░░█▄░░██ ░████▀▀██ █░░█▀░░██ ██▀▀▄░███ ░░░▄▄████ ▀▀▀▀▀▀▀▀▀ |
| | | | | | .
| | | ▄▄████▄▄ ▀█▀▄▀▀▄▀█▀ ▄▄░░▄█░██░█▄░░▄▄ ▄▄█░▄▀█░▀█▄▄█▀░█▀▄░█▄▄ ▀▄█░███▄█▄▄█▄███░█▄▀ ▀▀█░░░▄▄▄▄░░░█▀▀ █░░██████░░█ █░░░░▀▀░░░░█ █▀▄▀▄▀▄▀▄▀▄█ ▄░█████▀▀█████░▄ ▄███████░██░███████▄ ▀▀██████▄▄██████▀▀ ▀▀████████▀▀ | . ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ░▀▄░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░▄▀ ███▀▄▀█████████████████▀▄▀ █████▀▄░▄▄▄▄▄███░▄▄▄▄▄▄▀ ███████▀▄▀██████░█▄▄▄▄▄▄▄▄ █████████▀▄▄░███▄▄▄▄▄▄░▄▀ ████████████░███████▀▄▀ ████████████░██▀▄▄▄▄▀ ████████████░▀▄▀ ████████████▄▀ ███████████▀ | ▄▄███████▄▄ ▄████▀▀▀▀▀▀▀████▄ ▄███▀▄▄███████▄▄▀███▄ ▄██▀▄█▀▀▀█████▀▀▀█▄▀██▄ ▄██▀▄███░░░▀████░███▄▀██▄ ███░████░░░░░▀██░████░███ ███░████░█▄░░░░▀░████░███ ███░████░███▄░░░░████░███ ▀██▄▀███░█████▄░░███▀▄██▀ ▀██▄▀█▄▄▄██████▄██▀▄██▀ ▀███▄▀▀███████▀▀▄███▀ ▀████▄▄▄▄▄▄▄████▀ ▀▀███████▀▀ | | OFFICIAL PARTNERSHIP SOUTHAMPTON FC FAZE CLAN SSC NAPOLI |
[/quote] [center][table][tr][td][url=h
|
|
|
dkbit98
Legendary
Offline
Activity: 2632
Merit: 8087
⚡⚡ Availa₿le ⚡⚡
|
 |
May 09, 2025, 08:17:36 PM |
|
Great work TryNinja! I will test it in next few days to see how it works, but I wonder is it compatible with another userscript I have been using, Ignore threads on bitcointalk by NLNicoo: https://github.com/NLNicoo/itobThere are some topics I want to ignore from specific members, but I don't want to ignore everything written by them. So maybe you can combine this two userscripts into one. PS I don't know of this is related with your userscript, but I had issues opening my profile Ignore user options page. It finally opened after being stuck for a while and I saw that I currently have 130 names in my ignore list.
|
| . BC.GAME | ███████████████ ███████████████ ███████████████ ███████████████ ██████▀░▀██████ ████▀░░░░░▀████ ███░░░░░░░░░███ ███▄░░▄░▄░░▄███ █████▀░░░▀█████ ███████████████ ███████████████ ███████████████ ███████████████ | ███████████████ ███████████████ ███████████████ ███████████████ ███░░▀░░░▀░░███ ███░░▄▄▄░░▄████ ███▄▄█▀░░▄█████ █████▀░░▐██████ █████░░░░██████ ███████████████ ███████████████ ███████████████ ███████████████ | ███████████████ ███████████████ ███████████████ ███████████████ ██████▀▀░▀▄░███ ████▀░░▄░▄░▀███ ███▀░░▀▄▀▄░▄███ ███▄░░▀░▀░▄████ ███░▀▄░▄▄██████ ███████████████ ███████████████ ███████████████ ███████████████ | │ │ | DEPOSIT BONUS .1000%. | GET FREE ...5 BTC... | │ │ | REFER & EARN ..$1000 + 15%.. COMMISSION | │ │ | Play Now |
|
|
|
TryNinja (OP)
Legendary
Offline
Activity: 3234
Merit: 8339
♻️ Automatic Exchange
|
 |
May 09, 2025, 10:58:06 PM |
|
Great work TryNinja! I will test it in next few days to see how it works, but I wonder is it compatible with another userscript I have been using, Ignore threads on bitcointalk by NLNicoo:
After a quick look at the code, I don't see anything that should make it incompatible. I don't know of this is related with your userscript, but I had issues opening my profile Ignore user options page. It finally opened after being stuck for a while and I saw that I currently have 130 names in my ignore list.
I think that page is really slow, nothing to do with the script. I remember someone having so many ignored users that the page just didn't work. 
|
░░░░▄▄████████████▄ ░▄████████████████▀ ▄████████████████▀▄█▄ ▄███████▀▀░░▄███▀▄████▄ ▄██████▀░░░▄███▀░▀██████▄ ██████▀░░▄████▄░░░▀██████ ██████░░▀▀▀▀░▄▄▄▄░░██████ ██████▄░░░▀████▀░░▄██████ ▀██████▄░▄███▀░░░▄██████▀ ▀████▀▄████░░▄▄███████▀ ▀█▀▄████████████████▀ ▄████████████████▀░ ▀████████████▀▀░░░░ | | CCECASH | | | | ANN THREAD TUTORIAL |
|
|
|
vapourminer
Legendary
Offline
Activity: 4732
Merit: 4747
what is this "brake pedal" you speak of?
|
 |
May 10, 2025, 11:57:20 AM Last edit: May 10, 2025, 12:36:14 PM by vapourminer |
|
Great work TryNinja! I will test it in next few days to see how it works, but I wonder is it compatible with another userscript I have been using, Ignore threads on bitcointalk by NLNicoo:
After a quick look at the code, I don't see anything that should make it incompatible. I don't know of this is related with your userscript, but I had issues opening my profile Ignore user options page. It finally opened after being stuck for a while and I saw that I currently have 130 names in my ignore list.
I think that page is really slow, nothing to do with the script. I remember someone having so many ignored users that the page just didn't work.  mine doesnt load at all just errors. my ignore list must have an easy >1k at a guess. i used to copy paste ignore lists back in the day. edit: 
|
|
|
|
dkbit98
Legendary
Offline
Activity: 2632
Merit: 8087
⚡⚡ Availa₿le ⚡⚡
|
 |
May 14, 2025, 09:49:27 PM |
|
After a quick look at the code, I don't see anything that should make it incompatible.
Working good for me, and I didn't notice any issues so far. I noticed that quoted posts content from my ignored members is also not visible. I think that page is really slow, nothing to do with the script.
I can only imagine what would happen if I had more members in my ignore list. Maybe PowerGlove can work his magic and try to fix it and speed things up in that page (if possible).
|
| . BC.GAME | ███████████████ ███████████████ ███████████████ ███████████████ ██████▀░▀██████ ████▀░░░░░▀████ ███░░░░░░░░░███ ███▄░░▄░▄░░▄███ █████▀░░░▀█████ ███████████████ ███████████████ ███████████████ ███████████████ | ███████████████ ███████████████ ███████████████ ███████████████ ███░░▀░░░▀░░███ ███░░▄▄▄░░▄████ ███▄▄█▀░░▄█████ █████▀░░▐██████ █████░░░░██████ ███████████████ ███████████████ ███████████████ ███████████████ | ███████████████ ███████████████ ███████████████ ███████████████ ██████▀▀░▀▄░███ ████▀░░▄░▄░▀███ ███▀░░▀▄▀▄░▄███ ███▄░░▀░▀░▄████ ███░▀▄░▄▄██████ ███████████████ ███████████████ ███████████████ ███████████████ | │ │ | DEPOSIT BONUS .1000%. | GET FREE ...5 BTC... | │ │ | REFER & EARN ..$1000 + 15%.. COMMISSION | │ │ | Play Now |
|
|
|
|