From adabc950c18dc3623729846f5f01de09200bd5b3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 23 Aug 2024 11:12:57 +0000 Subject: [PATCH] Generated Readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 1737ae4..560c3e5 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ TamperMonkey scripts for å gjøre websider bedre. (Fuglane, Innsida osv.) 3. TamperMonkey should open and ask you to install the script # Contribute +## Basic Contribution 1. Clone the repository ```bash git clone git@git.ntnu.no:M365-Drift/MonkeyMagic.git @@ -57,3 +58,12 @@ git pull git push ``` 4. A Github Action will be automatically triggered and generate a new README.md file. + +## Advanced Contribution + +### Auto Update +To enable auto update of your UserScript, you need to add the following lines (change the filename to your filename) to the top of your script. This will make TamperMonkey check for updates every 24 hours. +```javascript +// @updateURL https://git.ntnu.no/M365-Drift/MonkeyMagic/raw/main/bas-search.user.js +// @downloadURL https://git.ntnu.no/M365-Drift/MonkeyMagic/raw/main/bas-search.user.js +```