diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 12:31:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-03-30 12:31:04 -0300 |
commit | e3c91e682c3ce246f0628a4f4786c50d9066fc4d (patch) | |
tree | 5c4fa62c706d5ca6e346f6490deb0ec54b0a35e9 /src/util | |
parent | de5a8fc983f9c4921d8b1c56915ad301ff755532 (diff) |
external-links: Facebook
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/external-links.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js index e59cd318..4d77eb73 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -308,6 +308,30 @@ export const externalLinkSpec = [ }, { + match: {domain: 'facebook.com'}, + + platform: 'facebook', + handle: {pathname: /^([^/]+)\/?$/}, + + icon: 'facebook', + }, + + { + match: {domain: 'facebook.com'}, + + platform: 'facebook', + handle: {pathname: /^(?:pages|people)\/([^/]+)\/[0-9]+\/?$/}, + + icon: 'facebook', + }, + + { + match: {domain: 'facebook.com'}, + platform: 'facebook', + icon: 'facebook', + }, + + { match: {domain: 'mspaintadventures.fandom.com'}, platform: 'fandom.mspaintadventures', |