User:Mfaizsyahmi/FcAlert.js

var d = new Date; if (d.getDay==0 && $.cookie("HPW_FC-notification-dismissed")!=="1") { if ($("#WikiaNotifications").length==0) { $("body").append(''); }   $("#WikiaNotifications").append('  HPW Admin alert: It\'s time to update the Featured Content! Be sure to update the archive and have a look at the suggestions first.  '); } function closeFcAlert{ $.cookie("HPW_FC-notification-dismissed", "1", { path:"/" }); $("#fc-weekchange-alert").parent.remove; }