Skip to content

Commit

Permalink
Merge pull request #435 from mozilla/add-detection-support
Browse files Browse the repository at this point in the history
Add additional FB element detection support
  • Loading branch information
maxxcrawford authored Jul 3, 2019
2 parents 12c0ef1 + 46de9df commit 65d2e6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ const LOGIN_PATTERN_DETECTION_SELECTORS = [
"[title='Log in with Facebook']",
"[class*='FacebookConnectButton']",
"[class*='js-facebook-login']", // kickstarter
".signup__button.button--facebook", // massdrop
"[class*='signinInitialStep_fbButton']", // soundcloud
"[id*='signin_fb_btn']", // Ebay
"[class*='facebookV2Login']", // emag.ro
"[class*='btn-facebook-signin']", // estadao.com.br
"[class*='signup-provider-facebook']", // Fandom
".socialContainer-0-131 .mainFacebook-0-150", // Honey
"[class*='facebook_login_click']", // Hi5
"[class*='facebook-signup-button']", // Strava
"[class*='facebook-connect-button']", // Twitch
Expand All @@ -21,6 +26,7 @@ const LOGIN_PATTERN_DETECTION_SELECTORS = [
"[data-oauthserver*='facebook']", // Stackoverflow
"[id*='facebook_connect_button']", // Quora
"[data-action*='facebook-auth']", //Medium
"[data-login-with-facebook='']", // etsy
"[data-destination*='facebook']",
"[data-partner*='facebook']", // AliExpress
".social-login .button--facebook", // noovie.com
Expand Down Expand Up @@ -48,6 +54,7 @@ const SHARE_PATTERN_DETECTION_SELECTORS = [
"[aria-label*='share on facebook']", // MSN
"[data-tracking*='facebook|share']", // football.london
"[class*='facebookShare']", // Producthunt share
"[class*='social-tray__link--facebook']", // Vice
".post-action-options + .right > .social-icon.icon-f", // Imgur share
"[title='Share on Facebook']" // Medium
];
Expand Down

0 comments on commit 65d2e6e

Please sign in to comment.