Pārlūkot izejas kodu

Update Soundcloud, Facebook and Ausha services
Add cookies list for Soundcloud and Facebook
Set needConsent to false as it doesn't use cookies

Marc Bellêtre 4 gadi atpakaļ
vecāks
revīzija
6385d8dc19
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      tarteaucitron.services.js

+ 3 - 3
tarteaucitron.services.js

@@ -1261,7 +1261,7 @@ tarteaucitron.services.facebook = {
     "name": "Facebook",
     "uri": "https://www.facebook.com/policy.php",
     "needConsent": true,
-    "cookies": [],
+    "cookies": ['xs', 'sb', 'fr', 'datr', 'dpr', 'c_user'],
     "js": function () {
         "use strict";
         tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
@@ -2505,7 +2505,7 @@ tarteaucitron.services.soundcloud = {
     type: 'video',
     name: 'SoundCloud',
     needConsent: true,
-    cookies: ['sc_anonymous_id'],
+    cookies: ['sc_anonymous_id', 'sclocale'],
     js: function () {
         "use strict";
         tarteaucitron.fallback(['soundcloud_player'], function (x) {
@@ -4073,7 +4073,7 @@ tarteaucitron.services.ausha = {
     type: "video",
     name: "Ausha",
     uri: "https://www.ausha.co/protection-personal-data/",
-    needConsent: true,
+    needConsent: false,
     cookies: [],
     js: function () {
         "use strict";