diff options
Diffstat (limited to 'src/external-links.js')
-rw-r--r-- | src/external-links.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/external-links.js b/src/external-links.js index ab1555bd..a4e16325 100644 --- a/src/external-links.js +++ b/src/external-links.js @@ -582,6 +582,17 @@ export const externalLinkSpec = [ }, { + match: {domains: ['reddit.com', 'old.reddit.com']}, + platform: 'reddit', + icon: 'globe', + + detail: { + substring: 'subreddit', + subreddit: {pathname: /^r\/[^\/]+(?=\/)?/}, + }, + }, + + { match: {domain: 'soundcloud.com'}, platform: 'soundcloud', |