AWS CLI - Auto Click "Confirm and Continue"

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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
vivasvan-patel-ev
일일 설치 수
0
총 설치 수
6
평점
0 0 0
버전
2024-11-27
생성일
2025-03-04
갱신일
2025-03-04
크기
1.18KB
라이선스
해당 없음
적용 사이트

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!