https://github.com/deepchirp/auto-fill-verification-field
Automatically fills the verification field
https://github.com/deepchirp/auto-fill-verification-field
github greasemonkey-userscript tampermonkey-userscript
Last synced: 1 day ago
JSON representation
Automatically fills the verification field
- Host: GitHub
- URL: https://github.com/deepchirp/auto-fill-verification-field
- Owner: DeepChirp
- License: mit
- Created: 2024-11-13T02:43:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-13T03:04:26.000Z (over 1 year ago)
- Last Synced: 2026-03-30T22:31:21.784Z (3 months ago)
- Topics: github, greasemonkey-userscript, tampermonkey-userscript
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Auto-fill Verification Field
This is a simple script that auto-fills the verification field.
## Supported Sites
- [x] [GitHub](https://github.com) - delete repository
## Installation
1. Install a user script manager like [Tampermonkey](https://www.tampermonkey.net/) or [Greasemonkey](https://www.greasespot.net/).
2. Click [here](https://github.com/DeepChirp/Auto-fill-Verification-Field/raw/main/index.user.js) to install the script directly from the web.
## Usage
1. Open a supported site (e.g., GitHub repository settings page).
2. The script will automatically detect and fill the verification field.
## Configuration
You can add more supported sites and field selectors by modifying the `loadConfig` function in [index.user.js](index.user.js).
```js
async function loadConfig() {
const localConfig = {
"github.com": {
"paths": [/\/.*\/.*\/settings/],
"fields": [
{
"selector": "#verification_field",
"value": () => {
const el = document.querySelector("#verification_field");
return el?.dataset.repoNwo || '';
}
}
]
},
};
return localConfig;
}
```
## Screenshots
