- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Script:XOTN
This script was created because we know you are lazy.
JavaScript
Copypasta the JavaScript below into an HTML document and view in your browser. Be sure .html is used for the file extension.
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'> <html> <head> <meta http-equiv='Pragma' content='no-cache'> <meta http-equiv='expires' content='0'> <meta content='text/html; charset=utf-8' http-equiv='content-type'> </head> <body> <script type='text/JavaScript'> var months = ["", "January","February","March","April","May","June","July","August","September","October","November","December"]; // yes, I know. Piss off. var date = new Date (); var year = date.getFullYear(); var month = date.getMonth () + 1; var days = new Date (year, month, 0).getDate (); var votn = ""; var potn = ""; var aotn = ""; var qotn = ""; month = months[month]; for (day = days; day > 0; day--) { votn += "*[[Encyclopedia Dramatica:Video of the Now/" + month + " " + day + ", " + year + "|" + month + " " + day + ", " + year + " - ]]<br />"; potn += "File:Hello POTN.jpg|{{center|[[Encyclopedia Dramatica:Picture of the Now/" + month + " " + day + ", " + year + "|" + month + " " + day + ", " + year + "]]}}<br />"; aotn += "*[[Encyclopedia Dramatica:Article of the Now/" + month + " " + day + ", " + year + "|" + month + " " + day + ", " + year + "]] - <br />"; qotn += "*[[Encyclopedia Dramatica:Quote of the Now/" + month + " " + day + ", " + year + "|" + month + " " + day + ", " + year + " - ]]<br />"; } document.body.innerHTML += "<br />=== Video of the Now ===<br /><br />" + votn; document.body.innerHTML += "<br />=== Picture of the Now ===<br /><br />" + potn; document.body.innerHTML += "<br />=== Article of the Now ===<br /><br />" + aotn; document.body.innerHTML += "<br />=== Quote of the Now ===<br /><br />" + qotn; </script> </body> </html>
Sample Output
Video of the Now
- May 31, 2020 -
- May 30, 2020 -
- May 29, 2020 -
- May 28, 2020 -
- May 27, 2020 -
- May 26, 2020 -
- May 25, 2020 -
- May 24, 2020 -
- May 23, 2020 -
- May 22, 2020 -
- May 21, 2020 -
- May 20, 2020 -
- May 19, 2020 -
- May 18, 2020 -
- May 17, 2020 -
- May 16, 2020 -
- May 15, 2020 -
- May 14, 2020 -
- May 13, 2020 -
- May 12, 2020 -
- May 11, 2020 -
- May 10, 2020 -
- May 9, 2020 -
- May 8, 2020 -
- May 7, 2020 -
- May 6, 2020 -
- May 5, 2020 -
- May 4, 2020 -
- May 3, 2020 -
- May 2, 2020 -
- May 1, 2020 -
Picture of the Now
Article of the Now
- May 31, 2020 -
- May 30, 2020 -
- May 29, 2020 -
- May 28, 2020 -
- May 27, 2020 -
- May 26, 2020 -
- May 25, 2020 -
- May 24, 2020 -
- May 23, 2020 -
- May 22, 2020 -
- May 21, 2020 -
- May 20, 2020 -
- May 19, 2020 -
- May 18, 2020 -
- May 17, 2020 -
- May 16, 2020 -
- May 15, 2020 -
- May 14, 2020 -
- May 13, 2020 -
- May 12, 2020 -
- May 11, 2020 -
- May 10, 2020 -
- May 9, 2020 -
- May 8, 2020 -
- May 7, 2020 -
- May 6, 2020 -
- May 5, 2020 -
- May 4, 2020 -
- May 3, 2020 -
- May 2, 2020 -
- May 1, 2020 -
Quote of the Now
- May 31, 2020 -
- May 30, 2020 -
- May 29, 2020 -
- May 28, 2020 -
- May 27, 2020 -
- May 26, 2020 -
- May 25, 2020 -
- May 24, 2020 -
- May 23, 2020 -
- May 22, 2020 -
- May 21, 2020 -
- May 20, 2020 -
- May 19, 2020 -
- May 18, 2020 -
- May 17, 2020 -
- May 16, 2020 -
- May 15, 2020 -
- May 14, 2020 -
- May 13, 2020 -
- May 12, 2020 -
- May 11, 2020 -
- May 10, 2020 -
- May 9, 2020 -
- May 8, 2020 -
- May 7, 2020 -
- May 6, 2020 -
- May 5, 2020 -
- May 4, 2020 -
- May 3, 2020 -
- May 2, 2020 -
- May 1, 2020 -