User:Benjaminthewill123123/1.js

importScriptPage('MediaWiki:Cookies.js','lustories');$(document).ready(function{var chatRules=$.cookie('rules');if(chatRules=="hidden"){}else{$('#WikiaPage').append(' ');$('#Write textarea').attr('disabled','disabled');$.get('/index.php',{action:'render',title:'Chat_Rules'},function success(data){$('#rules').html(data+'click to accept ');});$('#rules').click(function{$(this).slideUp('slow');$('#Write textarea').removeAttr('disabled');$.cookie('rules','hidden',{expires: 365});});}});