Skip to content

Instantly share code, notes, and snippets.

@michael-ziedalski
Forked from brettp/default_sites.js
Created November 12, 2022 04:22
Show Gist options
  • Save michael-ziedalski/781a52461c0bc462057cbe593179c936 to your computer and use it in GitHub Desktop.
Save michael-ziedalski/781a52461c0bc462057cbe593179c936 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"
}
],
"__exportVersion": 1,
"exportName": "Default Sites",
"comment": "Popular sites and selectors to get started with Spoiler Slayer"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment