-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
155 lines (145 loc) · 6.78 KB
/
index.html
File metadata and controls
155 lines (145 loc) · 6.78 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!doctype html><html><script>(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-TZMQG6RR');</script><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TZMQG6RR" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="google" value="notranslate"><meta name="description" content="Dash is based on Scratch, TurboWarp and other mods that adds more blocks, extensions, colors, compiles projects to JavaScript to make them run really fast and other features."/><title>Dash - More Blocks, Extensions, and other</title><link rel="apple-touch-icon" href="images/apple-touch-icon.png"><link rel="manifest" href="manifest.webmanifest"><style>.splash-screen {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
flex-direction: column;
gap: 1rem;
align-items: center;
justify-content: center;
text-align: center;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.splash-screen[hidden] {
display: none;
}
.splash-screen[data-theme="dark"] {
background-color: #333;
color: white;
}
.splash-screen > * {
max-width: 80%;
}
.splash-spinner:after {
content: " ";
display: block;
width: 64px;
height: 64px;
border-radius: 50%;
border: 6px solid;
border-color: currentColor transparent currentColor transparent;
animation: splash-spinner 1.2s linear infinite;
}
@keyframes splash-spinner {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.splash-error-title {
font-weight: bold;
}
.splash-error-title a {
color: inherit;
}
.splash-errors {
font-family: monospace;
}
.splash-error-list {
white-space: pre-wrap;
}
.splash-reset {
color: inherit;
background: none;
padding: 0;
margin: 0;
border: none;
text-decoration: underline;
cursor: pointer;
}
.splash-reset:disabled {
opacity: 0.8;
}</style></head><body><noscript><div class="splash-screen"><div><h1>Dash requires JavaScript</h1><p>Consider using <a href="https://desktop.turbowarp.org/">TurboWarp Desktop</a> if you are afraid of remote JavaScript.</p></div></div></noscript><div class="splash-screen spash-waiting-for-js" hidden><div class="splash-spinner"></div><div class="splash-error-title" hidden>Something went wrong. <a href="https://scratch.mit.edu/users/damir2809/#comments" target="_blank" rel="noreferrer">Please report</a> with the information below.</div><div class="splash-errors" hidden></div><button class="splash-reset" hidden>Click here to reset caches (can fix some errors)</button></div><script>(function () {
'use strict';
var theme = '';
var accent = '#ff884c';
try {
var themeSetting = localStorage.getItem('tw:theme');
} catch (e) {
// ignore
}
if (themeSetting === 'light') {
theme = 'light';
} else if (themeSetting === 'dark') {
theme = 'dark';
} else if (themeSetting) {
try {
var parsed = JSON.parse(themeSetting);
if (parsed.accent === 'green') {
accent = 'rgb(119, 216, 50)';
} else if (parsed.accent === 'red' || parsed.accent === 'rainbow') {
accent = '#ff4c4c';
} else if (parsed.accent === 'purple') {
accent = '#855cd6';
} else if (parsed.accent === 'blue') {
accent = '#4c97ff';
}
if (parsed.gui === 'dark' || parsed.gui === 'light') {
theme = parsed.gui;
}
} catch (e) {
// ignore
}
}
if (!theme) {
theme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
var splash = document.querySelector('.spash-waiting-for-js');
splash.setAttribute('data-theme', theme);
if (theme !== 'dark') {
splash.style.color = accent;
}
splash.hidden = false;
var splashErrorTitle = document.querySelector('.splash-error-title');
var splashError = document.querySelector('.splash-errors');
var splashReset = document.querySelector('.splash-reset');
var totalErrors = 0;
window.onerror = function (event, source, line, col, err) {
if (++totalErrors > 5) return; // dont bother logging more
splashErrorTitle.hidden = splashError.hidden = splashReset.hidden = false;
var el = document.createElement('div');
el.textContent = 'Error (splash) in ' + source + ' (' + line + ':' + col + '): ' + err;
splashError.appendChild(el);
};
splashReset.onclick = function () {
splashReset.disabled = true;
function hardRefresh() {
var search = location.search.replace(/[?&]nocache=\d+/, '');
location.replace(location.pathname + search + (search ? '&' : '?') + 'nocache=' + Math.floor(Math.random() * 100000));
}
if ('serviceWorker' in navigator) {
setTimeout(hardRefresh, 5000);
navigator.serviceWorker.getRegistration("")
.then(function(registration) {
if (registration) {
return registration.unregister();
}
})
.then(hardRefresh)
.catch(hardRefresh);
} else {
hardRefresh();
}
};
window.SplashEnd = () => {
splash.hidden = true;
window.onerror = null;
};
})();</script><div id="app"></div><script src="js/pentapod/vendors~addon-settings~credits~desktop~editor~embed~fullscreen~player.7f047ff25dffcdf14832.js"></script><script src="js/pentapod/vendors~editor~embed~fullscreen~player.714430a7db23b97a5f5c.js"></script><script src="js/pentapod/addon-settings~credits~desktop~editor~embed~fullscreen~player.5562e440b98c6b03b5f6.js"></script><script src="js/pentapod/addon-settings~addons~editor~fullscreen~player.ab2eb6b553cbdc1e98dd.js"></script><script src="js/pentapod/player.48c0c19eea0c94b6cc33.js"></script></body></html>