Expand clickbait filters for recirculation and trending rails - #12
Draft
endolith wants to merge 1 commit into
Draft
Expand clickbait filters for recirculation and trending rails#12endolith wants to merge 1 commit into
endolith wants to merge 1 commit into
Conversation
…ectors Add generic and site-scoped cosmetic rules aligned with existing filters (popular/trending rails, recirc modules, read-next widgets). Include attribute patterns for NYT recirculation classes and Forbes infinite article containers. Co-authored-by: endolith <endolith@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates
clickbait.txtwith additional cosmetic rules in the same spirit as the existing list: side rails and footers that push “most read,” trending, recirculation, and read-next story modules.Notable additions:
###hooks for common widget ids (most-viewed,related-coverage,popular-articles, Newser containers, etc.).##.hooks for HuffPost-style recirc (recirc__*,bn-trending), TechCrunch-stylerecirc-up-next, Quora feed wrappers, ZergNet (zergrow), Sailthru recommendations, Reddit comment-page recommendations, and similar patterns.[class*="Recirculation-"]for NYT-style class names,[id^="be-trending-widget"],[id^="article-container-"]on Forbes).businessinsider.com##.wide.recommended, Vergep-rock/ river, Slatestory-1/story-2,nypost.com###recirc, etc.).The “Last modified” header date was refreshed. No subscriber-only or account-specific URLs are included.