Open laryn opened 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.
@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.
It would be nice to have Instagram and OpenStreetMap added :-)
Is there any work on this issue?
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.
I'm curious how to add additional vanishers/services to this list?
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?