Menu

EU e-Privacy Directive

June 1st, 2012

Comply with the EU e-Privacy law (AKA the EU Cookie Law)! Block all cookies until the user has accepted them – Session, Language, even JavaScript!

PLEASE READ THIS: For those of you running templates that don’t have a system message area – I would suggest using the “Modal System Messages” extension which can be found here in the JED. You can find it easily by looking through my Favorites. Lack of system notification area is the cause of 75% of the support requests I receive.

This plugin overrides and prevents any cookies sent by Joomla, and any JavaScript cookies from being set until the user accepts them. Some may think this is overkill, as there are loopholes which allow “some” cookies to be set under certain circumstances without the users knowledge. After reading the guidelines, I determined that there was no real way to know which cookies are safe to set and which are covered by the law because the language contains the word “may” in some very unfortunate places.

After testing the demo sites of three (commercial) extensions here in the JED, I was surprised to find that the first set 24 cookies, the second set 60 cookies and the last set 63 cookies – all prior to the user accepting them! My solution was to put up a wall and declare “No Cookie” until such times as the user clicks the silly little button. Additionally, other plugins cheat by allowing cookies to be set, then going on delete them with JavaScript when the page is loaded. This plugin actively prevents the cookies from being set – which is the letter of the law.

This extension uses language files to manage the note that is displayed to the user, so it should be acceptable for all languages once someone decides to write a new language file for it. By popular demand, I’ve rewritten the extension to allow for some options when displaying the message. An option has been added to include a link to your privacy policy document, as well as an option to display the e-Privacy legal documents. The e-Privacy document link attempts to link to the appropriate language, but falls back to EN if the language can’t be matched.

Update 1.6 + Joomla 1.5 version – Option to control what type of system message is displayed (Message, Notice, Warning), as well as an option to include a 30 day (self renewing) cookie to remember users cookie preferences. Joomla 1.5 version sponsored by Bert Aarts – thank him if you see him!
Update 1.7 – fixed long-term cookie setting issue in Joomla 1.5 version.
Update 1.8 – Joomla 1.5 long-term cookie test revised.

All of my extensions are free and none of my extensions display advertisements or links to my sites or services. If you feel that I have blessed you, then you can bless me by making a contribution to fund future development. Visit the “Website” link to make a contribution.