backdrop-contrib / gdpr_cookies

Control cookies from all sources with tarteaucitron.js to meet GDPR.
GNU General Public License v2.0
0 stars 3 forks source link

Additional vanishers? #6

Open laryn opened 5 years ago

laryn commented 5 years ago

I'm curious how to add additional vanishers/services to this list?

Screen Shot 2019-04-23 at 10 35 31 AM

For example, if an organization uses Recaptcha, MapBox, or another third party service that isn't listed in the dropdown, how do we use this?

Graham-72 commented 5 years ago

@laryn I believe the third party services are provided in the tarteaucitron script https://github.com/backdrop-contrib/gdpr_cookies/blob/master/js/tarteaucitron/tarteaucitron.services.js

It looks as though the current version provides for Recaptcha at https://github.com/AmauriC/tarteaucitron.js/blob/master/tarteaucitron.services.js

Hopefully we can update gdpr_cookies soon - issue #5.

Graham-72 commented 5 years ago

@laryn I have been trying to understand how this is done, as inherited from blizz_vanisher (the parent of this module). It seems that the free (open source) version of the tarteaucitron script requires manual substitution of code for each service. Blizz_vanisher provides a set of php scripts to automate this, each third party service having dedicated 'vanisher' script within this module. Writing one of these looks difficult but there are several examples to follow when someone has the inclination and time.

djzwerg commented 3 years ago

It would be nice to have Instagram and OpenStreetMap added :-)

djzwerg commented 1 year ago

Is there any work on this issue?

olafgrabienski commented 1 year ago

I stumbled about this issue because I probably need the Instagram service of the library for an upcoming site. If I don't miss anything, Instagram is part of the current library version (not sure when it was added). @laryn, after #19, are you maybe up to update the library once more?

However, even with an up to date library, we need to figure out how to make a service available in the Backdrop module settings. As @Graham-72 pointed out in https://github.com/backdrop-contrib/gdpr_cookies/issues/6#issuecomment-508249585, there is some extra work to do. As usual, I'm not able to do the coding, but I'd be happy to discuss approaches and test a PR.