Greasy Fork 还支持 简体中文。

Auto Fill Repository Name when Deletion Confirmation

Add a button above the "Delete this repository" button and auto-fill the repository name when deleting a repository on GitHub.

目前為 2024-01-25 提交的版本,檢視 最新版本

作者
chiperman
評價
0 0 0
版本
1.1
建立日期
2024-01-24
更新日期
2024-01-25
尺寸
3.6 KB
授權條款
MIT
腳本執行於

GHRepoDeleteHelper

Description

GHRepoDeleteHelper is a Tampermonkey script that simplifies the process of deleting repositories on GitHub.

It adds a 🤖 Auto Fill button above the Delete this repository button. Clicking this button automatically fills the input box with <username>/<repo-name> and activates the Delete this repository button below.

The reason for not directly activating the Delete this repository button is because I believe this operation is indeed very dangerous. Therefore, think twice before you go, and GitHub does this probably for the same reason.

However, every time I am sure I want to delete a repository, it is cumbersome to copy and paste. Hence, I created this script to save time, hoping it can also be helpful for you.

However, it is very annoying to copy and paste every time I decide to delete a repository. Therefore, I created this script to save time, and I hope it can also be helpful for you.

Installation

  1. If not installed yet, please install the Tampermonkey extension for your browser (Chrome / Firefox / Edge).
  2. Click to install the script:
  3. Visit the Settings page of your GitHub repository to enable the script.

Usage

  1. Go to the GitHub repository's Settings page.
  2. Scroll down to locate the Danger Zone section.
  3. Click the `Delete this r