Post
Topic
Board Reputation
Merits 3 from 2 users

Re: nvK c0inkite c0ldacrd is Anti-OpenSource nutcase
by
PowerGlove
on 02/02/2025, 06:48:51 UTC
⭐ Merited by DireWolfM14 (2) ,dkbit98 (1)

I see you finally learned how to copy feedback with the correct reference links.
I actually meant (but then forgot) to stick up for dkbit98 about this...

There genuinely was a strange interaction (which I independently confirmed and then fixed) between the BPIP extension and the "Ignore threads" userscript by NLNico.

Here's my side of the conversation I had with dkbit98 about this:

I can't think of any SMF patches that might have affected the trust page (there's one that I can think of, but that one hasn't been merged yet, and anyway wouldn't have affected the markup deeply enough to confuse the BPIP extension, I don't think).

Still, I examined the code from the BPIP extension (v2.2.5) to see if I could find your bug...

I don't mess with browser extensions, so what I did was extract the relevant code from this archive, and then paste it directly into a web console to test the feature. I'm on Tor Browser, and the feature works correctly for me.

Here's the snippet I tested:

Code:
// Ha! Cloudflare won't let me include the ~40-line snippet.
// I'm not in the mood to massacre the code until I can get it past Cloudflare, or in the mood to ask theymos to disable whatever WAF rule(s) I'm triggering. Sorry.

Looking at the above code, there's not much opportunity for the BPIP extension to get things wrong, so, I'd probably put my money on some other extension or userscript you've installed that's doing something weird...

Your screenshot below looks odd to me (though maybe it doesn't to others; like I said, I only ever see Bitcointalk in its basic form, without anything additional on top):

All I did is copy-pasted link from nvK profile trust page via BPIP extension.
Here I will do it again:



What is that hyphen-in-a-box thing next to the reference link?

EDIT:
Sorry guys, I did some testing and I identified the culprit, it was Ignore threads user script from NLNico.
Ha! I was about to PM you with the same discovery.

BTW, if you'd like to keep using NLNico's script, then you can try replacing the following @include line (near the top of the file):

Code:
// @include       https://bitcointalk.org/*

With these three lines:

Code:
// @match         https://bitcointalk.org/index.php?board=*
// @match         https://bitcointalk.org/index.php?action=unread*
// @match         https://bitcointalk.org/index.php?action=watchlist

If the above change doesn't work, then the other way to go (though less preferable) would be to leave the original @include line alone, and instead add this line underneath it:

Code:
// @exclude-match https://bitcointalk.org/index.php?action=trust*

(I don't write userscripts, and I'm not up-to-date on syntax quirks and directive preferences between different userscript managers, so maybe the above is incorrect in some way; if neither of the above approaches works for you, then let me know and I'll look more deeply into it.)