This commit is contained in:
Snoweuph 2024-12-21 00:55:00 +01:00
parent 1b35f4c507
commit 4f226efb24
Signed by: snoweuph
GPG key ID: BEFC41DA223CEC55
3 changed files with 14 additions and 8 deletions

View file

@ -1,11 +1,11 @@
# $REPO_NAME
# ${REPO_NAME}
![Stars Badge]($REPO_HTTPS_URL/badges/stars.svg?style=flat-square&label=★Stars&labelColor=gray&color=yellow)
![QS Badge]($REPO_HTTPS_URL/actions/workflows/qs.yml/badge.svg?style=flat-square&label=Status&labelColor=gray)
![Stars Badge](${REPO_LINK}/badges/stars.svg?style=flat-square&label=★Stars&labelColor=gray&color=yellow)
![QS Badge](${REPO_LINK}/actions/workflows/qs.yml/badge.svg?style=flat-square&label=Status&labelColor=gray)
## Installation
[![Install Userscript](https://img.shields.io/badge/Install_Userscript-${REPO_NAME_SNAKE}-gray?style=for-the-badge&logo=greasyfork&logoColor=black&labelColor=brown)]($REPO_HTTPS/raw/branch/main/src/main.user.js)
[![Install Userscript](https://img.shields.io/badge/Install_Userscript-${REPO_NAME}-gray?style=for-the-badge&logo=greasyfork&logoColor=black&labelColor=brown)](${REPO_LINK}/raw/branch/main/src/main.user.js)
## Description
<!-- description here -->

5
src/lib.js Normal file
View file

@ -0,0 +1,5 @@
function testLib() {
console.log('lib works!');
}
window.testLib = testLib;

View file

@ -1,12 +1,13 @@
// ==UserScript==
// @name $REPO_NAME
// @namespace https://git.euph.dev/$REPO_OWNER
// @name ${REPO_NAME}
// @namespace https://git.euph.dev/${REPO_OWNER}
// @match *
// @require https://git.euph.dev/Snoweuph/CCNA_Autofill_Userscript/raw/branch/main/src/fetch.js
// @require https://git.euph.dev/Snoweuph/CCNA_Autofill_Userscript/raw/branch/main/src/answer.js
// @require ${REPO_LINK}/raw/branch/main/src/lib.js
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_xmlhttpRequest
// @version 0.0.1
// @author Userscripts
// ==/UserScript==
window.testLib();