From b0b1778a2f243ac91024acddb94e7a52436785b2 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Mon, 30 Jun 2025 00:24:16 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 604218c..aa85a37 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -678,6 +678,16 @@ function toggleColumn(col) { document.addEventListener('DOMContentLoaded', () => { const master = document.getElementById('installDattoRMM'); if (master) master.addEventListener('change', toggleDattoRMMOptions); + + // Fetch sites when the "Enter" key is pressed in the password input field + const passwordField = document.getElementById('Password'); + const goButton = document.querySelector("button[onclick='fetchSites()']"); + + passwordField.addEventListener('keydown', (e) => { + if (e.key === 'Enter') { // Check if the key pressed is 'Enter' + goButton.click(); // Trigger the 'Go' button click + } + }); }); @@ -957,6 +967,8 @@ $script + +