Johan Holst Nielsen
Forum Replies Created
-
Just a quick update. The changes mentioned in the last comment, is now a part of the official plugin. Feel free to give some feedback if you think anything missing or have ideas for improvements.
Hi @emilbroll
We didn’t include the option to choose both defer and async to keep it a bit more simple for non-technical users.
The situations where both async and defer works are pretty rare. By default browsers will use async if both async and defer are specified – the only time defer comes into effect will be on pretty old browsers that nor supports async (https://www.w3.org/TR/2011/WD-html5-20110525/scripting-1.html#attr-script-async). All major (and even minor) browsers support async nowadays. The only browser I am aware of not supporting async is Opera Mini – and it does not support defer as well ?? (https://caniuse.com/#feat=script-async)
There should also be a setting for none. So that part should be covered ??
Let me know if you have further questions.
The task were a bit more complex than initial though…
We just committed the first changes that starts adding more multisite support. It adds support for default setting of Cookiebot ID. Network wide setting of script attributes and things like that… hopefully it will be released to WP repository within a week.
After this we will continue the work of adding default settings for addons. But it will probably take a while before it is relased.
You are welcome to test the development we already did. Just replace the cookiebot.php with the file from our github repository.
https://github.com/CybotAS/CookiebotWPIf you have further questions or requests for approvements – please let us know.
Best Regards,
JohanHi @emilbroll
We have included the requested feature in the version released few minutes ago (version 2.1.5).
You are now able to choose none, defer or async as attribute the cookie declaration tag as well as the cookie consent banner tag.
Thank you for your feedback and suggestions.
We will add the requested features within a week. I will update this thread and a new release is available.
Best regards,
JohanI tried to replicate the error you describe – but with no luck so far. Both on your site and a setup with the Cookiebot plugin and WP Speed Of Light plugin enabled.
Are you able to reenable the WP Speed of Light plugin – so I can see how the bug behaves? Are you able to export the configuration of WP Speed of Light plugin and attach to your comment (you are able to do it in WP Speed of Light -> Speed optimization -> Configuration -> Import / Export.
Regards,
JohanUnfortunately the plugin only supports PHP 5.4+. In ealier versions of the plugin the plugin actually worked with older versions of PHP out of the box (but not with addons added in the separate module).
We will release a new version of Cookiebot WP plugin today where addons will be ignored (and therefore no errors) if the PHP version is older than 5.4.
Hi @laraej,
I tried to replicate this behavior – however I were not able to reproduce the error.
Can you provide us with a link to your website? Then I can investigate further.