User:Mfaizsyahmi/FcAlert.js

var FcDate = new Date; if (FcDate.getDay<=2 && $.cookie("HPW_FC-notification-dismissed")!=="1") { if ($("#WikiaNotifications").length==0) { $("body").append(''); }   $("#WikiaNotifications").append('  Oh look, time to update the Featured Content!  1.  Update the archive  2.  Look through the suggestions  3.  Update the FC  '); } function closeFcAlert{ $.cookie("HPW_FC-notification-dismissed", "1", { path:"/", expires:3 }); $("#fc-weekchange-alert").parent.remove; } function gotoFcThread { $.get("/wiki/MediaWiki:FcThread?action=raw", function(data, status) {       window.location = "/wiki/" + data;    }); }