Add AddToAny share and feed services
This commit is contained in:
parent
fa0b9c1bbf
commit
562bccf739
|
|
@ -18,6 +18,8 @@ Bonus:
|
||||||
|
|
||||||
## Supported services
|
## Supported services
|
||||||
- AddThis
|
- AddThis
|
||||||
|
- AddToAny (feed)
|
||||||
|
- AddToAny (share)
|
||||||
- Alexa
|
- Alexa
|
||||||
- Clicky
|
- Clicky
|
||||||
- Dailymotion
|
- Dailymotion
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,44 @@ tarteaucitron.services.addthis = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// addtoanyfeed
|
||||||
|
tarteaucitron.services.addtoanyfeed = {
|
||||||
|
"key": "addtoanyfeed",
|
||||||
|
"type": "social",
|
||||||
|
"name": "AddToAny (feed)",
|
||||||
|
"uri": "https://www.addtoany.com/privacy",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
|
||||||
|
},
|
||||||
|
"fallback": function () {
|
||||||
|
"use strict";
|
||||||
|
var id = 'addtoanyfeed';
|
||||||
|
tarteaucitron.fallback(['a2a_dd'], tarteaucitron.engage(id));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
// addtoanyshare
|
||||||
|
tarteaucitron.services.addtoanyshare = {
|
||||||
|
"key": "addtoanyshare",
|
||||||
|
"type": "social",
|
||||||
|
"name": "AddToAny (share)",
|
||||||
|
"uri": "https://www.addtoany.com/privacy",
|
||||||
|
"needConsent": true,
|
||||||
|
"cookies": [],
|
||||||
|
"js": function () {
|
||||||
|
"use strict";
|
||||||
|
tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
|
||||||
|
},
|
||||||
|
"fallback": function () {
|
||||||
|
"use strict";
|
||||||
|
var id = 'addtoanyshare';
|
||||||
|
tarteaucitron.fallback(['a2a_dd'], tarteaucitron.engage(id));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// alexa
|
// alexa
|
||||||
tarteaucitron.services.alexa = {
|
tarteaucitron.services.alexa = {
|
||||||
"key": "alexa",
|
"key": "alexa",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue