1
0

another try

This commit is contained in:
dtb 2022-02-20 13:19:10 -05:00
parent 62d244ce6b
commit 178f2c4958
2 changed files with 11 additions and 6 deletions

View File

@ -11,18 +11,21 @@
<META CONTENT="https://ia601509.us.archive.org/31/items/trinitydotmoe88x31/trinitydotmoe88x31.bmp" NAME="og:image" /> <META CONTENT="https://ia601509.us.archive.org/31/items/trinitydotmoe88x31/trinitydotmoe88x31.bmp" NAME="og:image" />
<META CONTENT="noindex" NAME="googlebot" /> <!-- FUCK GOOGLE --> <META CONTENT="noindex" NAME="googlebot" /> <!-- FUCK GOOGLE -->
<META CONTENT="interest-cohort=()" HTTP-EQUIV="Permissions-Policy" /> <!-- FUCK GOOGLE --> <META CONTENT="interest-cohort=()" HTTP-EQUIV="Permissions-Policy" /> <!-- FUCK GOOGLE -->
<SCRIPT SRC="/js/quotes.js" TYPE="module"></SCRIPT>
<STYLE></STYLE> <STYLE></STYLE>
<TITLE>trinity dot moe</TITLE> <!-- Also considered: 1945-07-16T05:26-06:00 --> <TITLE>trinity dot moe</TITLE> <!-- Also considered: 1945-07-16T05:26-06:00 -->
</HEAD> </HEAD>
<BODY> <BODY>
<SCRIPT TYPE="application/javascript" SRC="/js/cookies.js" ></SCRIPT> <SCRIPT TYPE="application/javascript" SRC="js/cookies.js" ></SCRIPT>
<SCRIPT TYPE="application/javascript" SRC="/js/sheets.js" ></SCRIPT> <SCRIPT TYPE="application/javascript" SRC="js/quotes.js" ></SCRIPT>
<SCRIPT TYPE="application/javascript" SRC="js/sheets.js" ></SCRIPT>
<SCRIPT TYPE="application/javascript">//<!-- <SCRIPT TYPE="application/javascript">//<!--
window.onload = window.initializesheets; window.onload = function(){
window.initializesheets();
window.quotes_initialize();
};
//--></SCRIPT> //--></SCRIPT>
<P>Hi, I'm Deven Trinity Blake. I'm just your normal everyday nerd.</P> <P>Hi, I'm Deven Trinity Blake. I'm just your normal everyday nerd.</P>

View File

@ -7,14 +7,16 @@
* - use window.quote_new() to get a new quote. */ * - use window.quote_new() to get a new quote. */
/* firefox doesn't support import assertions yet (2022-02-20; fx 97.0) */ /* firefox doesn't support import assertions yet (2022-02-20; fx 97.0) */
import quotes from "./quotes.json"; window.quotes = [ ["Couldn't get quotes array.", "quotes.js"] ];
window.quotes = quotes;
window.QUOTES_L_QUOTE_MARK = '"'; window.QUOTES_L_QUOTE_MARK = '"';
window.QUOTES_R_QUOTE_MARK = '"'; window.QUOTES_R_QUOTE_MARK = '"';
window.QUOTES_QUOTE_AUTHOR_ID = "quote_author"; window.QUOTES_QUOTE_AUTHOR_ID = "quote_author";
window.QUOTES_QUOTE_AUTHOR_PREFIX = "~ "; window.QUOTES_QUOTE_AUTHOR_PREFIX = "~ ";
window.QUOTES_QUOTE_VALUE_ID = "quote_value"; window.QUOTES_QUOTE_VALUE_ID = "quote_value";
window.quotes_initialize = function(){
fetch("./quotes.json").then(response => {return response.json();}).then(data => console.log(data));
};
/* Will not give you the same quote twice in a row! */ /* Will not give you the same quote twice in a row! */
window.quote_new = function(){ window.quote_new = function(){