-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (42 loc) · 1.46 KB
/
index.html
File metadata and controls
49 lines (42 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
margin: 0; padding: 0;
width: 100vw; height: 100vh;
overflow: hidden;
background: #000 !important;
}
iframe {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
border: none;
/* YOUR HIGH-FPS LOCKS */
transform: perspective(1000px) translateZ(0) scaleX(1.34);
transform-origin: center;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
image-rendering: pixelated;
will-change: transform, contents;
/* KEEP INTERACTIVE */
pointer-events: auto;
}
</style>
</head>
<body>
<iframe id="weather-frame" src="https://v2.weatherscan.net/?Manassas"></iframe>
<script>
setInterval(function() {
var iframe = document.getElementById('weather-frame');
var timestamp = new Date().getTime();
/* THE SPECIFIC REFRESH YOU WANTED:
Changes the hash (#) so the emulator stays on Manassas
but the browser thinks it's a "new" load to clear cache. */
iframe.src = "https://v2.weatherscan.net/?Manassas#" + timestamp;
console.log("Memory cleared. Location preserved.");
}, 3600000);
</script>
</body>
</html>