Snapshots
Permalink Browser Info Environment
Hi, first of all I must say that this is a great addon.
I was using Bitpixels to create a snapshot of my website and got some problems there since the thumbnail generated shows the Free Cookies Disclosure dialog.
Is there a way to bypass the FCD-dialog by adding some variables to the URL?
I was using Bitpixels to create a snapshot of my website and got some problems there since the thumbnail generated shows the Free Cookies Disclosure dialog.
Is there a way to bypass the FCD-dialog by adding some variables to the URL?
Type: | Discussion |
---|---|
Status: | New |
Hi Antti and thank you for your quick reply.
I checked the file but I think maybe we misunderstood each other.
I am wondering if I can write something like or something like that in my browser to temporarily disable FCD and get a clean snapshot of my website.
/Regards
Perra
I checked the file but I think maybe we misunderstood each other.
I am wondering if I can write something like
http://mysite.org/index.php?cookies_allowed=1
/Regards
Perra
Yes, exactly. If you modify the code in the spot that I pointed out to check that GET-variable (cookies_allowed=1), you are able to do exactly what you want to do.
Ok, thanks. I will try this on my testserver.
I made it easy for myself and uninstalled, took the snapshot and reinstalled. :-)
I made it easy for myself and uninstalled, took the snapshot and reinstalled. :-)
/packages/free_cookies_disclosure/libraries/disclosure_renderer.php
And there the setEvents-method. Just add a check there if there is some GET-variable set and if there is, don't attach the "on_page_view" method like it normally does.
Best,
Antti / Mainio