Vercel Project Deletion Form Filler
Description
This Greasemonkey/Tampermonkey script automates the process of filling in project deletion forms on Vercel's project settings pages. It's designed to save time for developers who frequently manage multiple projects and need to streamline the deletion process.
The script automatically extracts the project name from the page and fills it into the appropriate input field, along with the required verification text. This automation can significantly reduce the time and effort needed to delete projects, especially when managing multiple repositories.
Features
- Automatically extracts the project name from the page content
- Fills in the project name in the correct input field
- Enters the verification text "delete my project" in the appropriate field
- Works on dynamically loaded content
- Minimal and clean code, easy to understand and modify
Installation
Ensure you have a user script manager installed in your browser. Popular options include:
Visit the script's page on Greasy Fork镜像 (link to be added when published)
Click the "Install" button on the Greasy Fork镜像 page
Your user script manager will open a new tab. Review the script and click "Install" to confirm
Usage
Navigate to any Vercel project settings page (typically https://vercel.com/[username]/[project]/settings
)
The script will automatically run when the page loads
You should see the project name and verification text filled in automatically
IMPORTANT: Always double-check the information before confirming any deletion!
Compatibility
This script is designed to work on Vercel project settings pages. It has been tested with the latest versions of Chrome and Firefox as of August 2024. If you encounter any issues with other browsers or future Vercel UI changes, please report them on the script's Greasy Fork镜像 page.
Customization
You can modify the script to change its behavior:
- To change the verification text, modify the line:
verificationInput.value = 'delete my project';
- To add support for other project management platforms, you can modify the
@match
directive in the script header
Caution
⚠️ WARNING: This script automates the process of filling out deletion forms. Always double-check the information before confirming any deletions to avoid accidentally removing the wrong project.
License
This script is released under the MIT License. See the script header for more details.
Changelog
- v0.3 (2024-08-29): Initial public release
- Added support for dynamically loaded content
- Improved project name detection
Author
aha