diff --git a/README.md b/README.md index 9283448..455efd1 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,21 @@ A Tampermonkey userscript that adds useful features to the FabSwingers chat. ### Step 2: Install the Script -1. Click this link to install the script directly: +**Method A: Direct Install (if Tampermonkey prompts automatically)** - **[Install Script](https://git.upto.im/geekery/scripts/raw/branch/main/cams.js)** +Click this link: **[Install Script](https://git.upto.im/geekery/scripts/raw/branch/main/cams.user.js)** -2. Tampermonkey will open and show you the script -3. Click "Install" to add it +If Tampermonkey opens automatically, click "Install" and you're done. + +**Method B: Manual Install (if the link just shows code)** + +1. Go to the script URL: https://git.upto.im/geekery/scripts/raw/branch/main/cams.user.js +2. Select all the code (Ctrl+A / Cmd+A) and copy it (Ctrl+C / Cmd+C) +3. Click the Tampermonkey icon in your browser toolbar +4. Select "Create a new script..." +5. Delete any existing code in the editor +6. Paste the copied code (Ctrl+V / Cmd+V) +7. Press Ctrl+S / Cmd+S to save, or click File → Save The script will automatically update when new versions are released. diff --git a/cams.js b/cams.user.js similarity index 99% rename from cams.js rename to cams.user.js index 17802f1..a95cee2 100644 --- a/cams.js +++ b/cams.user.js @@ -6,7 +6,7 @@ // @author You // @match https://chat.fabswingers.com/* // @updateURL https://git.upto.im/geekery/scripts/raw/branch/main/meta.js -// @downloadURL https://git.upto.im/geekery/scripts/raw/branch/main/cams.js +// @downloadURL https://git.upto.im/geekery/scripts/raw/branch/main/cams.user.js // @grant none // @run-at document-idle // ==/UserScript== diff --git a/meta.js b/meta.js index a4c47d3..69314f9 100644 --- a/meta.js +++ b/meta.js @@ -6,7 +6,7 @@ // @author You // @match https://chat.fabswingers.com/* // @updateURL https://git.upto.im/geekery/scripts/raw/branch/main/meta.js -// @downloadURL https://git.upto.im/geekery/scripts/raw/branch/main/cams.js +// @downloadURL https://git.upto.im/geekery/scripts/raw/branch/main/cams.user.js // @grant none // @run-at document-idle // ==/UserScript==