another try
This commit is contained in:
parent
62d244ce6b
commit
178f2c4958
@ -11,18 +11,21 @@
|
||||
<META CONTENT="https://ia601509.us.archive.org/31/items/trinitydotmoe88x31/trinitydotmoe88x31.bmp" NAME="og:image" />
|
||||
<META CONTENT="noindex" NAME="googlebot" /> <!-- FUCK GOOGLE -->
|
||||
<META CONTENT="interest-cohort=()" HTTP-EQUIV="Permissions-Policy" /> <!-- FUCK GOOGLE -->
|
||||
<SCRIPT SRC="/js/quotes.js" TYPE="module"></SCRIPT>
|
||||
<STYLE></STYLE>
|
||||
<TITLE>trinity dot moe</TITLE> <!-- Also considered: 1945-07-16T05:26-06:00 -->
|
||||
</HEAD>
|
||||
|
||||
<BODY>
|
||||
|
||||
<SCRIPT TYPE="application/javascript" SRC="/js/cookies.js" ></SCRIPT>
|
||||
<SCRIPT TYPE="application/javascript" SRC="/js/sheets.js" ></SCRIPT>
|
||||
<SCRIPT TYPE="application/javascript" SRC="js/cookies.js" ></SCRIPT>
|
||||
<SCRIPT TYPE="application/javascript" SRC="js/quotes.js" ></SCRIPT>
|
||||
<SCRIPT TYPE="application/javascript" SRC="js/sheets.js" ></SCRIPT>
|
||||
|
||||
<SCRIPT TYPE="application/javascript">//<!--
|
||||
window.onload = window.initializesheets;
|
||||
window.onload = function(){
|
||||
window.initializesheets();
|
||||
window.quotes_initialize();
|
||||
};
|
||||
//--></SCRIPT>
|
||||
|
||||
<P>Hi, I'm Deven Trinity Blake. I'm just your normal everyday nerd.</P>
|
||||
|
@ -7,14 +7,16 @@
|
||||
* - use window.quote_new() to get a new quote. */
|
||||
|
||||
/* firefox doesn't support import assertions yet (2022-02-20; fx 97.0) */
|
||||
import quotes from "./quotes.json";
|
||||
window.quotes = quotes;
|
||||
window.quotes = [ ["Couldn't get quotes array.", "quotes.js"] ];
|
||||
window.QUOTES_L_QUOTE_MARK = '"';
|
||||
window.QUOTES_R_QUOTE_MARK = '"';
|
||||
window.QUOTES_QUOTE_AUTHOR_ID = "quote_author";
|
||||
window.QUOTES_QUOTE_AUTHOR_PREFIX = "~ ";
|
||||
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! */
|
||||
window.quote_new = function(){
|
||||
|
Loading…
Reference in New Issue
Block a user