Skip to content

Instantly share code, notes, and snippets.

@brettp
Last active June 25, 2024 10:44
Show Gist options
  • Save brettp/60faa5f1e217b4fb082e4e8a808dd402 to your computer and use it in GitHub Desktop.
Save brettp/60faa5f1e217b4fb082e4e8a808dd402 to your computer and use it in GitHub Desktop.
Default sites and selectors for #spoilerSlayer
{
"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"
}
@brettp
Copy link
Author

brettp commented Jan 29, 2020

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