From 74ef15682e655d91fb3342953246b48038cb4d97 Mon Sep 17 00:00:00 2001 From: Elijah James Beard Date: Fri, 6 Feb 2026 10:40:08 -0500 Subject: [PATCH] Ai Agent Toggle --- tdx-enhanced.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index 81893d3..dabb3ff 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -713,6 +713,12 @@ document.querySelectorAll("div.moreToggle *:not(a), div.lessToggle *:not(a), div.wrap-text *:not(a)").forEach(textBlock=>{ textBlock.style.color = "var(--txt-1)" }) + document.querySelectorAll("#ToggleAIAgentAssist").forEach(AIAgentButton=>{ + const selected = document.querySelector('input[name="aiBehavior"]:checked'); + if (selected.value == "aiDisable") { + AIAgentButton.style.display = "none" + } + }) let desktopLayout = settings('get','layout') let desktop = document.querySelector("#divContent") @@ -1466,6 +1472,13 @@
+
+

AI Agent

+ +
+ + +