User:Awesome Aasim/xfdvote.js

// $(document).ready(function {	if ((mw.config.get("wgPageName").includes("Wikipedia:Articles_for_deletion") || mw.config.get("wgPageName").includes("Wikipedia:Files_for_discussion") || mw.config.get("wgPageName").includes("Wikipedia:Miscellany_for_deletion") || mw.config.get("wgPageName").includes("Wikipedia:Categories_for_discussion") || mw.config.get("wgPageName") == "Wikipedia:Redirects_for_discussion" || mw.config.get("wgPageName") == "Wikipedia:Templates_for_discussion" || mw.config.get("wgPageName") == "User:Awesome_Aasim/xfdvote") && sessionStorage.getItem("xfdvotedismissed") != 1 && localStorage.getItem("xfdvotedismissed") != 1) {		$("#siteNotice").append(' ');		$('OK ').click(function { sessionStorage.setItem("xfdvotedismissed", 1); $("#xfdvoteinstructions").remove; }).appendTo("#xfdvoteokbutton1");		$('Don\'t show this again ').click(function { localStorage.setItem("xfdvotedismissed", 1); $("#xfdvoteinstructions").remove; }).appendTo("#xfdvoteokbutton2");	} }); mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome_Aasim/xfdvote.js/afd.js?action=raw&ctype=text/javascript"); mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome_Aasim/xfdvote.js/mfd.js?action=raw&ctype=text/javascript"); mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome_Aasim/xfdvote.js/rfd.js?action=raw&ctype=text/javascript"); //mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome_Aasim/xfdvote.js/cfd.js?action=raw&ctype=text/javascript"); mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome_Aasim/xfdvote.js/ffd.js?action=raw&ctype=text/javascript"); mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome_Aasim/xfdvote.js/tfd.js?action=raw&ctype=text/javascript"); //