Website Age Verification Plugin with jQuery

File Size: 12.5 KB
Views Total: 34020
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Website Age Verification Plugin with jQuery

A lightweight jQuery plugin that displays a cookie based age verification popup for your visitors to confirm their age before viewing the content of your website.

How to use it:

1. Load the Age Verification CSS for basic popup styles.

<link href="css/age-verification.css" rel="stylesheet">

2. Load jQuery Javascript library and the jQuery cookie plugin.

<script src="//"></script>
<script src="//"></script>

3. Load the jQuery Age Verification plugin after loading jQuery library.

<script src="js/age-verification.js"></script>

4. That's it. Edit the age-verification.js script to create your own verification messages.



  • Fixed missing symbol


  • Update age-verification.js


  • The av_positionPrompt function doesn't get attached to the window's resize event unless it's needed.

This awesome jQuery plugin is developed by stevemeisner. For more Advanced Usages, please check the demo page or visit the official website.