1
0

hopefully the quotes work better

This commit is contained in:
devenblake 2020-12-16 16:53:44 -05:00
parent 417807c011
commit 839d9b6e94
2 changed files with 29 additions and 24 deletions

View File

@ -36,6 +36,11 @@ Oh well.
<LI><A HREF="https://www.based.gg/">Based (Clothing)</A></LI> <LI><A HREF="https://www.based.gg/">Based (Clothing)</A></LI>
<LI><A HREF="https://web.archive.org/web/20070527164016/http://www.deviantart.com/deviation/18591720/">ClearLooks for Windows XP</A></LI> <LI><A HREF="https://web.archive.org/web/20070527164016/http://www.deviantart.com/deviation/18591720/">ClearLooks for Windows XP</A></LI>
<LI><A HREF="https://distress.network">DistressNetwork</A></LI> <LI><A HREF="https://distress.network">DistressNetwork</A></LI>
<LI>Fonts</LI><UL>
<LI><A HREF="http://azukifont.com/font/azuki.html">あずきフォント</A></LI>
<LI><A HREF="https://int10h.org/oldschool-pc-fonts/">The Ultimate Oldschool PC Font Pack</A></LI>
<LI><A HREF="http://pelulamu.net/unscii/">Unscii</A></LI>
</UL>
<LI><A HREF="http://weather.256k.net/snow/">Maine Snow Forecast</A></LI> <LI><A HREF="http://weather.256k.net/snow/">Maine Snow Forecast</A></LI>
</UL> </UL>
<LI>Blogs</LI><UL> <LI>Blogs</LI><UL>
@ -400,6 +405,7 @@ Oh well.
<LI><A HREF="https://simblob.blogspot.com/2019/10/verb-noun-vs-noun-verb.html?m=1">Verb-noun vs noun-verb</A></LI> <LI><A HREF="https://simblob.blogspot.com/2019/10/verb-noun-vs-noun-verb.html?m=1">Verb-noun vs noun-verb</A></LI>
</UL> </UL>
<LI><A HREF="https://web.archive.org/web/20200502153018/http://www.jesus-is-savior.com/False%20Religions/Other%20Pagan%20Mumbo-Jumbo/discordianism.htm">Discordianism EXPOSED!</A></LI> <LI><A HREF="https://web.archive.org/web/20200502153018/http://www.jesus-is-savior.com/False%20Religions/Other%20Pagan%20Mumbo-Jumbo/discordianism.htm">Discordianism EXPOSED!</A></LI>
<LI><A HREF="https://web.archive.org/web/20050806002431/http://www.korea-dpr.com/faq.htm">DPRK FAQ</A></LI>
<LI><A HREF="https://ebookee.org/">Ebookee</A></LI> <LI><A HREF="https://ebookee.org/">Ebookee</A></LI>
<LI><A HREF="https://en.wikipedia.org/wiki/English-language_spelling_reform">English-language spelling reform - Wikipedia</A></LI> <LI><A HREF="https://en.wikipedia.org/wiki/English-language_spelling_reform">English-language spelling reform - Wikipedia</A></LI>
<LI>English R/W</LI><UL> <LI>English R/W</LI><UL>

View File

@ -41,29 +41,26 @@ window.getCookie = function(cname) {
return ""; return "";
}; };
/* end stolen code; */
window.genQuote = function() { window.genQuote = function() {
quotes = window.quotes quotes = window.quotes
quote = Math.floor(Math.random() * quotes.length); quote = window.quote;
if(quote == window.quote) ++quote; while(quote == window.quote) quote = Math.floor(Math.random() * quotes.length);
if(quote > quotes.length) quote -= 2;
if(quote < quotes.length) /* give up */ ++quote;
window.quote = quote; window.quote = quote;
document.getElementById('getaquote').setAttribute('value', 'Get another free quote today!'); document.getElementById('getaquote').setAttribute('value', 'Get another free quote today!');
document.getElementById('quote').textContent = '\"' + quotes[quote][0] + '\"'; document.getElementById('quote').textContent = '\"' + quotes[quote][0] + '\"';
document.getElementById('quoteauthor').textContent = '~ ' + quotes[quote][1]; document.getElementById('quoteauthor').textContent = '~ ' + quotes[quote][1];
} }
/* end stolen code; */
window.setStyling = function(sheet) { window.setStyling = function(sheet) {
document.getElementById('styling').setAttribute('href', sheet); document.getElementById('styling').setAttribute('href', sheet);
return sheet; return sheet;
}; };
</SCRIPT>
<SCRIPT TYPE="application/javascript">
window.onload = function() {
/* QUOTES! */
window.quotes = [ /* QUOTES! */
window.quotes = [
[ "Yeah, that's just how it is. Just, nothing. So much nothing that it hurts.", [ "Yeah, that's just how it is. Just, nothing. So much nothing that it hurts.",
"danger/u/ aefd79" ], "danger/u/ aefd79" ],
[ "Reason has always existed, but not always in a reasonable form.", [ "Reason has always existed, but not always in a reasonable form.",
@ -76,10 +73,12 @@ window.onload = function() {
"Darth Vader" ], "Darth Vader" ],
[ "A checklist can aid here.", [ "A checklist can aid here.",
"Lance Leventhal" ] "Lance Leventhal" ]
]; ];
</SCRIPT>
var sheet = getCookie('sheet'); <SCRIPT TYPE="application/javascript">
if(sheet != '') setStyling(sheet); window.onload = function() {
var sheet = window.getCookie('sheet');
if(sheet != '') window.setStyling(sheet);
}; };
</SCRIPT> </SCRIPT>
<TABLE><TR><TD valign="top" width="50%"> <TABLE><TR><TD valign="top" width="50%">