[GH-ISSUE #332] alternatehistory.com gets removed from Google search results #227

Open
opened 2026-08-06 02:13:29 -04:00 by saavagebueno · 6 comments
Owner

Originally created by @TheWitheredStriker on GitHub (Feb 23, 2026).
Original GitHub issue: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/issues/332

Before:
Image

After:
Image

No idea why this occurs. I checked the filter list and found nothing that seems to target it.

It's a XenForo forum. AI-generated content is not permitted on it.

Originally created by @TheWitheredStriker on GitHub (Feb 23, 2026). Original GitHub issue: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/issues/332 Before: <img width="1579" height="1179" alt="Image" src="https://github.com/user-attachments/assets/3e04b77e-d4ac-4026-8526-565834693c7a" /> After: <img width="1415" height="810" alt="Image" src="https://github.com/user-attachments/assets/c08de7a6-2c3b-437a-b5c5-244021de5cc0" /> No idea why this occurs. I checked the filter list and found nothing that seems to target it. It's a XenForo forum. AI-generated content is not permitted on it.
Author
Owner

@TimGeel1998 commented on GitHub (Feb 24, 2026):

I think this is because of the following entry:
google.com##a[href*="story.com"]:upward(2):remove()

the wildcard (*) takes everything in front of "story.com"
this includes alternatehistory.com

I think if you change the a[href*="story.com"] and change it to a[href$="story.com"]
it should only look for an exactly this ending of the string.
and it should no longer match alternatehistory.com
I found this on: https://www.w3.org/TR/selectors-3/#attribute-substrings

but i could be wrong as i have never done anything like this before.

<!-- gh-comment-id:3952318610 --> @TimGeel1998 commented on GitHub (Feb 24, 2026): I think this is because of the following entry: google.com##a[href*="story.com"]:upward(2):remove() the wildcard (*) takes everything in front of "story.com" this includes alternatehistory.com I think if you change the a[href*="story.com"] and change it to a[href$="story.com"] it should only look for an exactly this ending of the string. and it should no longer match alternatehistory.com I found this on: https://www.w3.org/TR/selectors-3/#attribute-substrings but i could be wrong as i have never done anything like this before.
Author
Owner

@TheWitheredStriker commented on GitHub (Feb 24, 2026):

I think that's likely the cause! Would be cool to see it fixed.

<!-- gh-comment-id:3952494845 --> @TheWitheredStriker commented on GitHub (Feb 24, 2026): I think that's likely the cause! Would be cool to see it fixed.
Author
Owner

@TimGeel1998 commented on GitHub (Feb 24, 2026):

I have created a PR (#334) to potentially fix this issue.
We'll see if it gets merged

<!-- gh-comment-id:3952902110 --> @TimGeel1998 commented on GitHub (Feb 24, 2026): I have created a PR (#334) to potentially fix this issue. We'll see if it gets merged
Author
Owner

@TheWitheredStriker commented on GitHub (Feb 24, 2026):

Thank you!

<!-- gh-comment-id:3953457012 --> @TheWitheredStriker commented on GitHub (Feb 24, 2026): Thank you!
Author
Owner

@TimGeel1998 commented on GitHub (Mar 6, 2026):

Hello @TheWitheredStriker the idea we had submitted in PR (#334) do not seem to have the effect we wanted.
You can read the replay there for more info.
I will try to think of a solution but i cant promise a fix in the short term.

<!-- gh-comment-id:4010402968 --> @TimGeel1998 commented on GitHub (Mar 6, 2026): Hello @TheWitheredStriker the idea we had submitted in PR (#334) do not seem to have the effect we wanted. You can read the replay there for more info. I will try to think of a solution but i cant promise a fix in the short term.
Author
Owner

@TheWitheredStriker commented on GitHub (Mar 6, 2026):

No worries. Keep me updated.

<!-- gh-comment-id:4010447371 --> @TheWitheredStriker commented on GitHub (Mar 6, 2026): No worries. Keep me updated.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/uBlockOrigin-HUGE-AI-Blocklist#227