Last active
June 25, 2024 10:44
-
-
Save brettp/60faa5f1e217b4fb082e4e8a808dd402 to your computer and use it in GitHub Desktop.
Default sites and selectors for #spoilerSlayer
This file contains 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
{ | |
"sites": [ | |
{ | |
"urlRegex": "avclub.com", | |
"selector": "article, .sidebar-item, .curation-module__item" | |
}, | |
{ | |
"urlRegex": "buzzfeed.com", | |
"selector": ".story-card, .card--article-featured, .card--article, .card--package, .card--video, .sidebar__link, .js-now-buzzing__list > li" | |
}, | |
{ | |
"urlRegex": "facebook.com", | |
"selector": "._6rba._6rcg, [role=\"VIDEOS_MIXED\"], [data-highlight-tokens], div[data-testid=\"fbfeed_story\"], div[role=\"article\"], #pagelet_trending_tags_and_topics ul > li" | |
}, | |
{ | |
"urlRegex": "feedly.com", | |
"selector": ".entry" | |
}, | |
{ | |
"urlRegex": "gizmodo.com", | |
"selector": ".featured-item, article" | |
}, | |
{ | |
"urlRegex": "news.google.com", | |
"selector": ".xrnccd, article" | |
}, | |
{ | |
"urlRegex": "plus.google.com", | |
"selector": "div[id^=\"update-\"], c-wiz div div c-wiz" | |
}, | |
{ | |
"urlRegex": "reddit.com", | |
"selector": "article, .sitetable > .thing.link, .usertext-body, .scrollerItem, .Comment, .Post" | |
}, | |
{ | |
"urlRegex": "slack.com", | |
"selector": "ts-message" | |
}, | |
{ | |
"urlRegex": "tumblr.com", | |
"selector": ".post_container, article" | |
}, | |
{ | |
"urlRegex": "twitter.com", | |
"selector": "[data-testid='tweet'], .stream-item, .tweet, [data-item-type='tweet'], .trend-item, .AdaptiveNewsLargeImageHeadline" | |
}, | |
{ | |
"urlRegex": "youtube.com", | |
"selector": "ytd-rich-item-renderer, ytd-comment-renderer, ytd-radio-renderer, ytd-grid-video-renderer, ytd-compact-video-renderer, ytd-video-renderer, .yt-lockup, .related-list-item, .comment-renderer-text" | |
}, | |
{ | |
"urlRegex": "www.theverge.com", | |
"selector": "ol.c-rock-list__items, .c-entry-box--compact" | |
}, | |
{ | |
"urlRegex": "cnn.com", | |
"selector": "article" | |
}, | |
{ | |
"urlRegex": "slate.com", | |
"selector": ".section-feed__item, header, .article__content" | |
} | |
], | |
"__exportVersion": 1, | |
"exportName": "Default Sites", | |
"comment": "Popular sites and selectors to get started with Spoiler Slayer" | |
} |
Hi @Clemovski - Thanks for the report. I've created an issue for it on the main repo. Could you reply there with the exact URL you're going to and a screenshot pointing out which videos should be blurred? Thanks!
No need, it's sorted.
I added manually ytd-rich-item-renderer for youtube and now it works.
Sorry and thank you for your time.
Edit : Also had to add [data-testid= »tweet »] for Twitter.
Thanks for the comment! I've updated the default list with those selectors, so the changes should propagate to everyone shortly.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi !
Your add-on is really great and I'd like to use it.
Although it seems that the videos in the front page of youtube (only the front page) are not blurred.
Is there something I could do to fix this ?
Thank you.