-
Notifications
You must be signed in to change notification settings - Fork 0
/
spinitron.html
49 lines (39 loc) · 1.53 KB
/
spinitron.html
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 lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WBOR 91.1 FM – Playlists & Archives</title>
<base href=" https://wbor.org">
<meta name="theme-color" content="#0E1111">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function () {
$("td").each(function () {
var tdText = $(this).html();
var newText = tdText.replace("(_CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME)", "");
$(this).html(newText);
});
});
</script>
</head>
<body class="public station">
<div class="spinitron-page-container">
<div class="main-container">
<div class="main wrapper clearfix">
<div id="notifications-w3" class="notifications"></div>
{{SPINITRON_CONTENT}}
</div>
</div>
</div>
<script>
window.onload = function () {
var categoryElement = document.querySelector('.show-categoty');
if (categoryElement.textContent.trim() === "_CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME CHANGE ME" || categoryElement.textContent.trim() === "_____") {
categoryElement.style.display = "none";
}
};
</script>
</body>
</html>