Setup
This commit is contained in:
parent
1b35f4c507
commit
4f226efb24
3 changed files with 14 additions and 8 deletions
|
@ -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
5
src/lib.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
function testLib() {
|
||||
console.log('lib works!');
|
||||
}
|
||||
|
||||
window.testLib = testLib;
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue