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 +```