Simple age verification, 'age gate', plugin required by some content providers for mature content. Supports cookies when used with jquery-cookie. Original code concept from CatsWhoCode.com.
$('#age-restricted').agegate({
age: 21,
legal: function(){
$('#age-restricted').empty().append('<iframe src="..."></iframe>');
},
underage: function(){
alert("Sorry, you must be at least " + this.age + " years old in order to continue.");
$('#age-restricted').empty();
}
});
Released under the GPLv2 license.