Caution: this post was published in 2019 and may contain information, techniques or code examples that are no longer current. Please double-check official documentation and modern best practices before using anything from this article.

This is a simple EU cookie notification pop-up for legacy websites.

All that's required is jQuery.

Add the following HTML, jQuery script and apply some CSS - example supplied.