Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dFactory

    (@dfactory)

    Yes, you have a function to check the cookie notice status – cn_cookies_accepted(). It will return false untill user acceprs the cookie notice.

    Hi, this feature is applied automatically, or I need to activate refuse button? Thanks

    Plugin Author dFactory

    (@dfactory)

    You have to activate refuse button and write a functionality for this. This plugin can’t handle blocking functionality – it just allows you to store user decision.

    While it can be a good “general” solution, are you planning to implement the block handling? It would be interesting, while other plugins are moving in this direction. Thank you!

    Plugin Author dFactory

    (@dfactory)

    You mean a textarea block in plugin settings for functional cookies code? It is something i’ve been thinking about Francesco.

    Probably this will get into plugin in one of the future releases.

    Hi there,
    I think that a good generic solution to block cookies (before the consent is given) could be to perform an output buffering of the HTML page code (this can be achieved using WP hooks like wp_head and shutdown) and “disable” all the script and iframe tags. The blocked code could also be unlocked via javascript once the user gives the consent by clicking on OK.
    I’ve seen this approach on a couple of other plugins that perform cookie blocking.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Block third party cookie until "OK"’ is closed to new replies.