AWS CLI - Auto Click "Confirm and Continue"

Automatically clicks the "Confirm and Continue" button when it becomes available.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
vivasvan-patel-ev
Instalaciones diarias
0
Instalaciones totales
6
Calificaciones
0 0 0
Versión
2024-11-27
Creado
4/3/2025
Actualizado
4/3/2025
Tamaño
1,18 KB
Licencia
Desconocida
Funciona en

AWS CLI - Auto Click "Confirm and Continue" (Tampermonkey Script)

Description

This Tampermonkey script automates the clicking of the "Confirm and Continue" button when accessing AWS CLI through the AWS web portal. It is designed to work on AWS WorkSpaces or AWS CLI login pages where manual confirmation is required.

Features

  • Auto-clicks the "Confirm and Continue" button (#cli_verification_btn) as soon as it becomes available.
  • Uses a MutationObserver to detect changes in the DOM and trigger the click event.
  • Runs automatically when the page is loaded (@run-at document-idle).

How It Works

  1. Detects the Button: The script looks for the "Confirm and Continue" button on the AWS authentication page.
  2. Clicks the Button Automatically: If found, it clicks the button immediately.
  3. Monitors DOM Changes: In case the button is loaded dynamically, the script continuously checks for its appearance using a MutationObserver.
  4. Runs at Idle State: The script starts when the page is fully loaded, ensuring it works efficiently.

Installation Instructions

  1. Install Tampermonkey for your browser.
  2. Click on the Tampermonkey extension icon and select "Create a new script".
  3. Delete the default code and paste the script provided.
  4. Save the script and enable it.
  5. Navigate to your AWS CLI login page (https://d-9a67274801.awsapps.com/*), and the script will automatically handle the confirmation step.

Supported URLs

Permissions

  • No additional permissions are required (@grant none).
  • Runs only on the specified AWS domain (@match is restricted to AWS CLI login pages).

Troubleshooting

  • If the script does not work:
    • Ensure Tampermonkey is installed and the script is enabled.
    • Verify that the button selector (#cli_verification_btn) is still correct (AWS may update its UI).
    • Refresh the page after enabling the script.

Notes

  • This script does not store or send any user data.
  • If AWS changes its page structure or button ID, the script may require an update.

License

This script is provided as-is with no guarantees. Modify and use it at your own risk.


🚀 Enjoy hassle-free AWS CLI authentication!