-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspinitron.html
More file actions
55 lines (49 loc) · 1.73 KB
/
spinitron.html
File metadata and controls
55 lines (49 loc) · 1.73 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
<!-- This file is version controlled! -->
<!-- Ensure that if you make changes that they are updated here: -->
<!-- https://github.com/wbor-fm/customization/blob/main/spinitron.html -->
<!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>