46 lines
990 B
HTML
46 lines
990 B
HTML
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
html,body,header {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<script>
|
|
|
|
if(localStorage["CONFIG_LANGUAGE"] == undefined || localStorage["CONFIG_VERSION"] == undefined)
|
|
{
|
|
location = "/silica/config.html";
|
|
}
|
|
|
|
handler = function(event){
|
|
if(event.keyCode == 121){
|
|
location = "/silica/config.html";
|
|
}
|
|
else
|
|
{
|
|
window.removeEventListener("keydown");
|
|
}
|
|
}
|
|
|
|
window.addEventListener("keydown", handler);
|
|
|
|
url = '/logos/2020/kitsune/'+localStorage["CONFIG_VERSION"]+'/kitsune20.html?hl='+localStorage["CONFIG_LANGUAGE"];
|
|
history.replaceState(null, null, url)
|
|
// Change URL
|
|
|
|
xhr = new XMLHttpRequest();
|
|
xhr.open("GET", url, false);
|
|
xhr.send();
|
|
// Get html contents
|
|
|
|
document.clear();
|
|
document.write(xhr.response.replaceAll("https://www.gstatic.com/", "/gstatic/"));
|
|
// Replace gstatic.com for /gstatic/
|
|
</script>
|
|
</body>
|
|
</html> |