TwisterMc / pdfjs-viewer-shortcode

A Wordpress plugin for embedding PDFs using Mozilla's Excellent PDF.js
https://wordpress.org/plugins/pdfjs-viewer-shortcode/
Apache License 2.0
7 stars 4 forks source link

pdfjs.history cookie not blocked until accepted by user #28

Open bash88 opened 1 year ago

bash88 commented 1 year ago

Hi,

Our friends over at Cookiebot notified us about a cookie being set without consent of the user. It's the pdfjs.history cookie. I can't find any setting in this plugin that may fix this.

When I asked Cookiebot support about this, they referred to this page.

I haven't searched for any hooks in the plugin code that can maybe add attributes to scripts. Is there such a thing? Or do you see any other solution?

Regards, Bas

TwisterMc commented 1 year ago

What's the cookie name? We're just wrapping up Mozilla's PDFJS, so I have to see what they're adding it for.

bash88 commented 1 year ago

@TwisterMc It's the pdfjs.history cookie.

bash88 commented 6 months ago

@TwisterMc Did you ever get a chance to look into this?