Skip to content

Commit

Permalink
Merge pull request #28 from beard67/beta
Browse files Browse the repository at this point in the history
AI Agent Disable Option
  • Loading branch information
ejunga authored Feb 6, 2026
2 parents c32d28f + 77fce02 commit eeb5c58
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tdx-enhanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,13 @@
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=>{
let selected = settings('get','aiBehavior');
console.log("AI Behavior selected:",selected.value)
if (selected == "aiDisable") {
AIAgentButton.style.display = "none"
}
})

let desktopLayout = settings('get','layout')
let desktop = document.querySelector("#divContent")
Expand Down Expand Up @@ -1466,6 +1473,13 @@
<input type="radio" id="highlightBehavior-text" name="highlightBehavior" value="text">
<label for="highlightBehavior-block">Text</label><br>
</div>
<div>
<h3>AI Agent</h3>
<input type="radio" id="aiBehavior-enable" name="aiBehavior" value="aiEnable">
<label for="aiBehavior-enable">AI Enable</label><br>
<input type="radio" id="aiBehavior-disable" name="aiBehavior" value="aiDisable">
<label for="aiBehavior-disable">AI Disable</label>
</div>
</form>
</div>
Expand Down

0 comments on commit eeb5c58

Please sign in to comment.