diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:47:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:47:39 +0000 |
commit | 8d13bdc6cac0e20c43c6f909fc0208774b9c5c84 (patch) | |
tree | 5fd46925c6b4a881c9208772ed8e5cc0588bc164 /src/data/socialwidgets.json | |
parent | Initial commit. (diff) | |
download | privacybadger-8d13bdc6cac0e20c43c6f909fc0208774b9c5c84.tar.xz privacybadger-8d13bdc6cac0e20c43c6f909fc0208774b9c5c84.zip |
Adding upstream version 2020.10.7.upstream/2020.10.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/data/socialwidgets.json')
-rw-r--r-- | src/data/socialwidgets.json | 266 |
1 files changed, 266 insertions, 0 deletions
diff --git a/src/data/socialwidgets.json b/src/data/socialwidgets.json new file mode 100644 index 0000000..a09893e --- /dev/null +++ b/src/data/socialwidgets.json @@ -0,0 +1,266 @@ +{ + "AddThis": { + "domain": "s7.addthis.com", + "buttonSelectors": [ + "div.addthis_toolbox:not(:empty)" + ], + "replacementButton": { + "details": "<!-- AddThis Button BEGIN --> <div class='addthis_toolbox addthis_default_style addthis_32x32_style'> <a class='addthis_button_preferred_1'></a> <a class='addthis_button_preferred_2'></a> <a class='addthis_button_preferred_3'></a> <a class='addthis_button_preferred_4'></a> <a class='addthis_button_compact'></a> <a class='addthis_counter addthis_bubble_style'></a> </div> <script type='text/javascript'>var addthis_config = {'data_track_addressbar':true};</script> <script type='text/javascript' src='//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-522d600d3b535ebf'></script> <!-- AddThis Button END -->", + "unblockDomains": [ + "s7.addthis.com", + "ct1.addthis.com", + "api-public.addthis.com" + ], + "imagePath": "AddThis.svg", + "type": 2 + } + }, + "Coub Player": { + "domain": "coub.com", + "buttonSelectors": [ + "iframe[src^='//coub.com/embed/']" + ], + "replacementButton": { + "unblockDomains": [ + "coub.com" + ], + "type": 3 + } + }, + "Digg": { + "domain": "widgets.digg.com", + "buttonSelectors": [ + ".DiggThisButton" + ], + "replacementButton": { + "details": "http://www.digg.com/submit?url=", + "imagePath": "Digg.svg", + "type": 0 + } + }, + "Disqus": { + "domains": [ + "disqus.com", + "*.disqus.com" + ], + "buttonSelectors": [ + "div#disqus_thread" + ], + "scriptSelectors": [ + "script[src*='.disqus.com/embed.js']" + ], + "replacementButton": { + "unblockDomains": [ + "*.disqus.com", + "disqus.com" + ], + "type": 4 + } + }, + "Facebook Comments": { + "domain": "www.facebook.com", + "buttonSelectors": [ + "div.fb-comments.fb_iframe_widget" + ], + "replacementButton": { + "unblockDomains": [ + "www.facebook.com" + ], + "type": 3 + } + }, + "Facebook Like": { + "domain": "www.facebook.com", + "buttonSelectors": [ + "fb\\:like", + "iframe[src*='://www.facebook.com/plugins/like.php']", + "iframe[src*='://www.facebook.com/v2.0/plugins/like.php']", + ".fb-like" + ], + "replacementButton": { + "details": "https://www.facebook.com/plugins/like.php?href=", + "unblockDomains": [ + "www.facebook.com" + ], + "imagePath": "FacebookLike.svg", + "type": 1 + } + }, + "Facebook Share": { + "domain": "www.facebook.com", + "buttonSelectors": [ + "fb\\:share_button", + "iframe[src*='://www.facebook.com/plugins/share_button.php']", + "iframe[src*='://www.facebook.com/v2.0/plugins/share_button.php']", + ".fb-share-button" + ], + "replacementButton": { + "details": "https://www.facebook.com/plugins/share_button.php?href=", + "unblockDomains": [ + "www.facebook.com" + ], + "imagePath": "FacebookShare.svg", + "type": 1 + } + }, + "Facebook Video": { + "domain": "www.facebook.com", + "buttonSelectors": [ + "iframe[src^='https://www.facebook.com/plugins/video.php?']" + ], + "replacementButton": { + "unblockDomains": [ + "www.facebook.com" + ], + "type": 3 + } + }, + "Google reCAPTCHA": { + "domains": [ + "google.com", + "www.google.com" + ], + "buttonSelectors": [ + "div.g-recaptcha", + "div#g-recaptcha", + "fieldset#g-recaptcha" + ], + "scriptSelectors": [ + "script[src^='//google.com/recaptcha/api.js']", + "script[src^='https://google.com/recaptcha/api.js']", + "script[src^='https://www.google.com/recaptcha/api.js']" + ], + "fallbackScriptUrl": "//google.com/recaptcha/api.js", + "replacementButton": { + "unblockDomains": [ + "google.com", + "www.google.com" + ], + "type": 4 + } + }, + "LinkedIn": { + "domain": "platform.linkedin.com", + "buttonSelectors": [ + "script[type='in/share']" + ], + "replacementButton": { + "details": "http://www.linkedin.com/shareArticle?mini=true&url=", + "imagePath": "LinkedIn.svg", + "type": 0 + } + }, + "Pinterest": { + "domain": "assets.pinterest.com", + "buttonSelectors": [ + "script[src='//assets.pinterest.com/js/pinit.js']", + ".pin-it-button" + ], + "replacementButton": { + "details": "http://pinterest.com/pin/create/button/?url=", + "imagePath": "Pinterest.svg", + "type": 0 + } + }, + "SoundCloud": { + "domain": "w.soundcloud.com", + "buttonSelectors": [ + "iframe[src^='https://w.soundcloud.com/player']" + ], + "replacementButton": { + "unblockDomains": [ + "w.soundcloud.com" + ], + "type": 3 + } + }, + "Spotify Player": { + "domains": [ + "embed.spotify.com", + "open.spotify.com" + ], + "buttonSelectors": [ + "iframe[src^='https://embed.spotify.com/']", + "iframe[src^='https://open.spotify.com/embed']" + ], + "replacementButton": { + "unblockDomains": [ + "embed.spotify.com", + "open.spotify.com" + ], + "type": 3 + } + }, + "Streamable Player": { + "domain": "streamable.com", + "buttonSelectors": [ + "iframe[src^='https://streamable.com/']" + ], + "replacementButton": { + "unblockDomains": [ + "streamable.com" + ], + "type": 3 + } + }, + "Twitch Player": { + "domain": "player.twitch.tv", + "buttonSelectors": [ + "iframe[src^='https://player.twitch.tv/']", + "iframe[src^='//player.twitch.tv/']" + ], + "replacementButton": { + "unblockDomains": [ + "player.twitch.tv" + ], + "type": 3 + } + }, + "Twitter": { + "domain": "platform.twitter.com", + "buttonSelectors": [ + ".twitter-share-button" + ], + "replacementButton": { + "details": "https://twitter.com/intent/tweet?url=", + "imagePath": "Twitter.svg", + "type": 0 + } + }, + "Vimeo": { + "domain": "player.vimeo.com", + "buttonSelectors": [ + "iframe[src^='https://player.vimeo.com/video/']:not([src*='background=1'])", + "iframe[src^='//player.vimeo.com/video/']:not([src*='background=1'])" + ], + "replacementButton": { + "unblockDomains": [ + "player.vimeo.com" + ], + "type": 3 + } + }, + "YouTube": { + "domains": [ + "youtube.com", + "www.youtube.com", + "www.youtube-nocookie.com" + ], + "buttonSelectors": [ + "iframe[src^='//www.youtube.com/embed/']", + "iframe[src^='http://www.youtube.com/embed/']", + "iframe[src^='https://www.youtube.com/embed/']", + "iframe[src^='https://youtube.com/embed/']", + "iframe[src^='//www.youtube-nocookie.com/embed/']", + "iframe[src^='https://www.youtube-nocookie.com/embed/']" + ], + "replacementButton": { + "unblockDomains": [ + "youtube.com", + "www.youtube.com", + "www.youtube-nocookie.com" + ], + "type": 3 + } + } +} |