Skip to content

A simple warning script to allow sites to be compatabul with EU law on cookies

Notifications You must be signed in to change notification settings

SolutionsFactory/CookieWarning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookiewarning is a small script designed to display a warning to users about the use of cookies on a site in order to comply with the EU privacy directive (see http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications/the_guide/cookies.aspx ).

To use:
Please a link to the javascript file in the body of your HTML document as per the example test files (i.e. <script language="JavaScript" type="text/javascript" src="js/cookiewarning.js"></script> ) 

Versions:
Currently their are three versions of the javasccript file, version 1 (cookiewarning.js) darkens the page and superimposes a white box displaying the warning.
Version 2 (cookiewarning2.js) inserts a red box with white text at the top of the users screen. 
Version 3 (cookiewarning3.js) should be inserted in the <head> section of a page (as opposed to the <Body> section as version 1 and 2 are) and displays the warning in a pop-up box.
I belive all are compatabul with the EU directive, however I'm not a lawer.

Contact information for Scott Herbert email [email protected] blog http://scott-herbert.com/blog/ Twitter https://twitter.com/Scott_Herbert

If you would like to donate please do so via paypal at http://bit.ly/XHnk3a
Or Flattr https://flattr.com/donation/give/to/scott-herbert
Or buy me something from my amazon wish list at http://amzn.to/SRxBMj
Or Donate to wikipedia via http://bit.ly/UHU7Um

Public key 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)

mQENBFCrelsBCADTV5xr4vjJy8QpTZVoBTq2QPwcG/Is2v5sWz35ZaG86SL/bunn
6BhWD1owiUEPqdvX6BQgS8HfDDwCmC3A0HNiVYvzCPhHsacnN2MdURECAS3OGP6I
trT6GO2zY4IUtQ4wR8zyFnpIy7MdpbTJuNYRnItzBc9eUtM83hULqcXM/Gh2aMQK
6D7nKBBb3fv6AnsuPME+tBVDJCGOUp72tiKbzA1N6a0vQ3H6bfgT++F+hHvAGbr5
OeoI6iArUTDzwLXQT0q0sm2U8jg08HHZv9kWyp1WV29ZpEurVZjwFvlod6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Ac0V2CVo3YlnZN6ifrdE1kn+fbax/RJVRYE58QGN
NxAzPs8X0QbJcq7Ui2VU3hyCne1MQOpBnYNNbi9WGF/Nc8jfq9lvoIpklR30KmGR
Q/Nn72hXAND2rVqY1yzF1iDZXu//xCK1/RpNhHuiei2rD4AKDKcefFNMfSTTIE40
bti7BuFOTWzXwA2Bdpbz9M/3CCCBhT+6mTyiqW7MZyzC0MXqTxIB/4B7Ehf6
=eESx
-----END PGP PUBLIC KEY BLOCK-----


About

A simple warning script to allow sites to be compatabul with EU law on cookies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published