Testing something
This commit is contained in:
		
							parent
							
								
									f7d559b8e8
								
							
						
					
					
						commit
						c57b292374
					
				@ -9,7 +9,8 @@
 | 
				
			|||||||
</HEAD>
 | 
					</HEAD>
 | 
				
			||||||
<BODY>
 | 
					<BODY>
 | 
				
			||||||
<P><A href="/">~ Return to the rest of the site</A></P>
 | 
					<P><A href="/">~ Return to the rest of the site</A></P>
 | 
				
			||||||
<SCRIPT src="theme.js"></SCRIPT>
 | 
					<SCRIPT SRC="/sheets.js" TYPE="application/javascript"></SCRIPT>
 | 
				
			||||||
 | 
					<SCRIPT TYPE="application/javascript">window.onload = window.initializesheets;</SCRIPT>
 | 
				
			||||||
<H1>frequently asked questions</H1>
 | 
					<H1>frequently asked questions</H1>
 | 
				
			||||||
<H3>updated 2020-12-13</H3>
 | 
					<H3>updated 2020-12-13</H3>
 | 
				
			||||||
<HR size="1" width="25%" align="left" />
 | 
					<HR size="1" width="25%" align="left" />
 | 
				
			||||||
 | 
				
			|||||||
@ -1,26 +0,0 @@
 | 
				
			|||||||
/*
 | 
					 | 
				
			||||||
	these code snippets stolen from
 | 
					 | 
				
			||||||
	https://www.w3schools.com/js/js_cookies.asp
 | 
					 | 
				
			||||||
*/
 | 
					 | 
				
			||||||
function setCookie(cname, cvalue, exdays) {
 | 
					 | 
				
			||||||
	var d = new Date();
 | 
					 | 
				
			||||||
	d.setTime(d.getTime() + (exdays*24*60*60*1000));
 | 
					 | 
				
			||||||
	var expires = "expires="+ d.toUTCString();
 | 
					 | 
				
			||||||
	document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
function getCookie(cname) {
 | 
					 | 
				
			||||||
	var name = cname + "=";
 | 
					 | 
				
			||||||
	var decodedCookie = decodeURIComponent(document.cookie);
 | 
					 | 
				
			||||||
	var ca = decodedCookie.split(';');
 | 
					 | 
				
			||||||
	for(var i = 0; i <ca.length; i++) {
 | 
					 | 
				
			||||||
		var c = ca[i];
 | 
					 | 
				
			||||||
		while(c.charAt(0) == ' ') c = c.substring(1);
 | 
					 | 
				
			||||||
		if(c.indexOf(name) == 0) return c.substring(name.length, c.length);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
	return "";
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
/* end stolen code; */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
var sheet = getCookie('sheet');
 | 
					 | 
				
			||||||
if(sheet != '') document.getElementById('styling').setAttribute('href', sheet);
 | 
					 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user