Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.addEvent('domready', function(){
- var q = $$('div.profile > div.profile-span > a'), cname = q[0].get('text') + ':' + document.location.pathname;
- if(!q.length || !Cookie.read(cname){
- var text = "18+?";
- if(confirm(text)){
- Cookie.write(cname, true, {duration:365})
- }else{
- location.href = '/herna/';
- }
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment