From 32d64bf76bfd5aa7f890b6e3dc35cd9917ded971 Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 4 Feb 2021 23:15:28 -0500 Subject: [PATCH] rename file and add updateurl --- README.md | 2 +- disable-youtube-autoplay.js => disable-youtube-autoplay.user.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename disable-youtube-autoplay.js => disable-youtube-autoplay.user.js (74%) diff --git a/README.md b/README.md index 0bf811f..a09dc4b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This userscript disables youtube recommended videos from automatically playing after your video has finished. With this userscript, you aren't reliant on Youtube's cookies in order to prevent videos from playing. ## Installation -First, install Violentmonkey for [Firefox](https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/) or [Chrome](https://chrome.google.com/webstore/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag), or any other userscript manager of your choice, and then [click here to install the userscript](https://gitea.bubbletea.dev/bubbletea.dev/disable-youtube-autoplay/raw/branch/master/disable-youtube-autoplay.js). +First, install Violentmonkey for [Firefox](https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/) or [Chrome](https://chrome.google.com/webstore/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag), or any other userscript manager of your choice, and then [click here to install the userscript](https://gitea.bubbletea.dev/bubbletea.dev/disable-youtube-autoplay/raw/branch/master/disable-youtube-autoplay.user.js). ## License This userscript is licensed under GPL v3.0 or later. diff --git a/disable-youtube-autoplay.js b/disable-youtube-autoplay.user.js similarity index 74% rename from disable-youtube-autoplay.js rename to disable-youtube-autoplay.user.js index 5c652bc..67c8ed7 100644 --- a/disable-youtube-autoplay.js +++ b/disable-youtube-autoplay.user.js @@ -5,6 +5,8 @@ // @description Disables Youtube recommended videos from automatically playing // @author shibao // @include https://www.youtube.com/watch* +// @downloadURL https://gitea.bubbletea.dev/bubbletea.dev/disable-youtube-autoplay/raw/branch/master/disable-youtube-autoplay.user.js +// @updateURL https://gitea.bubbletea.dev/bubbletea.dev/disable-youtube-autoplay/raw/branch/master/disable-youtube-autoplay.user.js // @grant none // ==/UserScript==