Comment 2 for bug 1258130

Revision history for this message
Robert Lyon (robertl-9) wrote :

Here is an example of how to test by setting the additionalhtmlhead to add code that sets cookies:

$cfg->additionalhtmlhead = '<script type="text/plain" class="cc-onconsent-social">
                            $j(function() {
                                document.cookie = "cookiesocial=testing; path=/";
                            });
                            </script>
                            <script type="text/plain" class="cc-onconsent-analytics">
                            $j(function() {
                                document.cookie = "cookieanalytics=testing; path=/";
                            });
                            </script>
                            <script type="text/plain" class="cc-onconsent-advertising">
                            $j(function() {
                                document.cookie = "cookieadvertising=testing; path=/";
                            });
                            </script>';