Skip to content

Fix filter list duplicates, Taboola network rule, and metadata#11

Draft
endolith wants to merge 1 commit into
masterfrom
cursor/fix-clickbait-list-issues-cea9
Draft

Fix filter list duplicates, Taboola network rule, and metadata#11
endolith wants to merge 1 commit into
masterfrom
cursor/fix-clickbait-list-issues-cea9

Conversation

@endolith
Copy link
Copy Markdown
Owner

Summary

This repository is a single Adblock Plus–style filter list (clickbait.txt) plus docs. The following concrete issues were fixed.

Changes

  1. Duplicate rules###bottom-most-shared and ###bottom-trending appeared twice (global block and again under the HuffPost comment). The duplicates in the HuffPost section were removed so the list stays valid and easier to maintain.

  2. Taboola syndication — The line taboolasyndication.com relied on substring matching. It was replaced with ||taboolasyndication.com^, which is the standard domain-anchored network filter form documented for Adblock Plus and supported by uBlock Origin and related tools.

  3. List metadata! Version: was empty; it is now set to 1 so issue reports can reference a version. ! Last modified was updated to match this edit. Trailing spaces were removed from a few filter lines.

Testing

No automated tests exist in this repo. Validation was done by re-checking the file for duplicate non-comment lines after edits.

Open in Web Open in Cursor 

- Remove duplicate ###bottom-most-shared and ###bottom-trending (already
  listed in the global section).
- Replace bare taboolasyndication.com with ||taboolasyndication.com^ for
  standard domain-anchored network blocking (ABP/uBlock).
- Set ! Version: 1, refresh Last modified, trim trailing whitespace on
  several rules.

Co-authored-by: endolith <endolith@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants