summaryrefslogtreecommitdiffstats
path: root/src/data/socialwidgets.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/data/socialwidgets.json266
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
+ }
+ }
+}