GitHub Automatically confirm device authorization

人民的勤务员
2024-09-18T01:12:31Z

existGitHubThe authorization page automatically enters the authorization code and automatically confirms it.。

简体中文 | English | 한국어 | Tiếng Việt | 繁體中文
👆️access GitHub Readme file on for a better experience。

GitHubView the serviceman’s scriptGithub:@ChinaGodMan
GreasyForkView the serviceman’s script
View the serviceman’s script on the current page

⭐If the script helps you,Can light up the stars to encourage⭐

Recommended use：

💡 Tip: The script manager and browser listed above do not represent all
The script runs normally in the following environment

GitHub Automatically confirm device authorization

「 existGitHubThe authorization page automatically enters the authorization code and automatically confirms it.。 」

Download:Github | ⭐Greasy Fork

Update records

🛠️ GitHub Automatically confirm device authorization Update log

📅 2025.03.27.1144

New: •deal withhttps://github.com/login/oauthPage buttons,Only tested in multiple accounts.

📅 2024-09-18 08:50:32- Ver 1.0.0.0

New: •Only handle authorization code behavior,Just for your own use.

GitHub Automatic Device Authorization

Overview

This user script aims to simplify the process on the GitHub authorization page by automatically filling in the authorization code and confirming the action, reducing the need for manual intervention. This script is particularly useful in scenarios where direct browser interaction is not possible, such as automated testing or remote operations. (This is a personal script for convenience during portable use.)

Features

Automatic Code Filling: Reads the authorization code from the clipboard and automatically fills it into the corresponding input fields on the authorization page.

Automatic Submission: Automatically clicks the confirm button on the authorization page.

Installation and Usage

1. Installation: Click the green install button above to install the script.

2. Usage:

The script will run automatically when you visit the GitHub device authorization page.

The script will read the authorization code from the clipboard, automatically fill out the form, and submit it.

Script Functionality

Automatic Code Filling: The script waits for the page to load, then reads the authorization code from the clipboard, splits it, and fills it into the appropriate input fields.

Automatic Submission: On the confirmation page, the script will automatically click the confirm button to complete the authorization process.

Notes

Ensure that the clipboard contains a correctly formatted authorization code (e.g., XXXX-XXXX).

The script may need some time to recognize page elements and fill out the form, so please give it enough time to execute.

Thanks

Thanks to LemonPupl for the script GitHub Copilot automatically obtains GHU.