Created
May 29, 2025 15:49
-
-
Save Elvincth/7a891fb67b09c03b7e654497bb6bb6c5 to your computer and use it in GitHub Desktop.
Auto click copilot "Contiue" button
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Function to find and click the Continue button with exact text | |
function clickContinueButton() { | |
const continueButton = Array.from( | |
document.querySelectorAll('a.monaco-button.monaco-text-button[role="button"]') | |
).find(button => button.textContent.trim() === 'Continue'); | |
if (continueButton) { | |
continueButton.click(); | |
console.log('Continue button clicked'); | |
} | |
} | |
// Check for the button every 1 s | |
const intervalId = setInterval(clickContinueButton, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment