social ctp configuration.json
Facebook Blocked Elements Configuration
Domains
- Included Domains:
facebook.com
facebook.net
- Excluded Subdomains:
Surrogates
- Rule:
facebook\.net\/[a-z_A-Z]+\/sdk.js
- Surrogate:
fb-sdk.js
- Xray:
fb-surrogate-xray.js
- Rule:
facebook\.net\/[a-z_A-Z]+\/all.js
- Surrogate:
fb-sdk.js
- Xray:
fb-surrogate-xray.js
- Rule:
facebook\.com\/[a-z_A-Z]+\/sdk.js
- Surrogate:
fb-sdk.js
- Xray:
fb-surrogate-xray.js
Informational Modal
- Icon:
blocked_facebook_logo.svg
- Message Title: "Logging in with Facebook lets them track you"
- Message Body: "Once you're logged in, DuckDuckGo can't block Facebook content from tracking you on this site."
- Confirm Button Text: "Log In"
- Reject Button Text: "Go back"
Clicks Before Simple Version
Element Data
FB Like Button
- Selectors:
- Replace Settings:
FB Button iFrames
- Selectors:
iframe[src*='://www.facebook.com/plugins/like.php']
iframe[src*='://www.facebook.com/v2.0/plugins/like.php']
iframe[src*='://www.facebook.com/plugins/share_button.php']
iframe[src*='://www.facebook.com/v2.0/plugins/share_button.php']
- Replace Settings:
FB Save Button
- Selectors:
- Replace Settings:
FB Share Button
- Selectors:
- Replace Settings:
FB Page iFrames
- Selectors:
iframe[src*='://www.facebook.com/plugins/page.php']
iframe[src*='://www.facebook.com/v2.0/plugins/page.php']
- Replace Settings:
- Type:
dialog
- Button Text: "Unblock Content"
- Info Title: "DuckDuckGo blocked this content to prevent Facebook from tracking you"
- Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Simple Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Click Action:
FB Comment iFrames
- Selectors:
iframe[src*='://www.facebook.com/plugins/comment_embed.php']
iframe[src*='://www.facebook.com/v2.0/plugins/comment_embed.php']
- Replace Settings:
- Type:
dialog
- Button Text: "Unblock Comment"
- Info Title: "DuckDuckGo blocked this comment to prevent Facebook from tracking you"
- Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Simple Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Click Action:
FB Comments
- Selectors:
.fb-comments
fb\:comments
- Replace Settings:
- Type:
dialog
- Button Text: "Unblock Comments"
- Info Title: "DuckDuckGo blocked these comments to prevent Facebook from tracking you"
- Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Simple Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Click Action:
- Type:
allowFull
- Target URL:
https://www.facebook.com/v9.0/plugins/comments.php?href=data-href&numposts=data-numposts&sdk=joey&version=v9.0&width=data-width
- URL Data Attributes to Preserve:
data-href: {default: "", required: true}
data-numposts: {default: 10}
data-width: {default: "500"}
FB Post iFrames
- Selectors:
iframe[src*='://www.facebook.com/plugins/post.php']
iframe[src*='://www.facebook.com/v2.0/plugins/post.php']
- Replace Settings:
- Type:
dialog
- Button Text: "Unblock Post"
- Info Title: "DuckDuckGo blocked this post to prevent Facebook from tracking you"
- Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Simple Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Click Action:
FB Video iFrames
- Selectors:
iframe[src*='://www.facebook.com/plugins/video.php']
iframe[src*='://www.facebook.com/v2.0/plugins/video.php']
- Replace Settings:
- Type:
dialog
- Button Text: "Unblock Video"
- Info Title: "DuckDuckGo blocked this video to prevent Facebook from tracking you"
- Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Simple Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Click Action:
FB Group iFrames
- Selectors:
iframe[src*='://www.facebook.com/plugins/group.php']
iframe[src*='://www.facebook.com/v2.0/plugins/group.php']
- Replace Settings:
- Type:
dialog
- Button Text: "Unblock Content"
- Info Title: "DuckDuckGo blocked this content to prevent Facebook from tracking you"
- Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Simple Info Text: "We blocked Facebook from tracking you when the page loaded. If you unblock this content, Facebook will know your activity."
- Click Action:
FB Login Button
- Selectors:
- Replace Settings:
- Type:
loginButton
- Icon:
blocked_facebook_logo.svg
- Button Text: "Log in with Facebook"
- Popup Title Text: "DuckDuckGo blocked this Facebook login"
- Popup Body Text: "Facebook tracks your activity on a site when you use them to login."
- Click Action:
- Type:
allowFull
- Target URL:
https://www.facebook.com/v9.0/plugins/login_button.php?app_id=app_id_replace&auto_logout_link=false&button_type=continue_with&sdk=joey&size=large&use_continue_as=false&width=
- URL Data Attributes to Preserve:
data-href: {default: "", required: true}
data-width: {default: "500"}
app_id_replace: {default: "null"}