diff --git a/index.html b/index.html
index d276074..df964a5 100644
--- a/index.html
+++ b/index.html
@@ -113,7 +113,7 @@
- -
+
-
5S
@@ -144,6 +144,9 @@
focus: focus only
a part of the TPS. Can be
multiple.
+ (Here are all the possible values:
+
+ )
-
text: hide text to only have the
diff --git a/main.ts b/main.ts
index 50709d0..c247224 100644
--- a/main.ts
+++ b/main.ts
@@ -2,6 +2,26 @@ const params = new URL(document.location.href).searchParams
const display = params.get('display')
+const focusables = document.querySelectorAll('.focusable')
+const focusList = document.querySelector('#focus-list')
+
+if (focusList) {
+ focusables.forEach((focusable, index) => {
+ const a = document.createElement('a')
+ a.textContent = [...focusable.classList]
+ .filter((c) => c !== 'focusable')
+ .join(' ')
+ a.href = `?focus=${a.textContent}`
+ focusList.appendChild(a)
+
+ if (index === focusables.length - 1) {
+ return
+ }
+ const space = document.createTextNode(', ')
+ focusList.appendChild(space)
+ })
+}
+
if (display === 'house-only') {
document.querySelectorAll('.hud')?.forEach((hud) => hud.remove())
}