Browse Source

Keep existing generic url matching scheme

mphelp 3 years ago
parent
commit
a0b8ad0328

+ 1 - 2
Extensions/UserScript/Return Youtube Dislike.user.js

@@ -7,8 +7,7 @@
 // @description  Return of the YouTube Dislike, Based off https://www.returnyoutubedislike.com/
 // @description  Return of the YouTube Dislike, Based off https://www.returnyoutubedislike.com/
 // @icon         https://github.com/Anarios/return-youtube-dislike/raw/main/Icons/Return%20Youtube%20Dislike%20-%20Transparent.png
 // @icon         https://github.com/Anarios/return-youtube-dislike/raw/main/Icons/Return%20Youtube%20Dislike%20-%20Transparent.png
 // @author       Anarios & JRWR
 // @author       Anarios & JRWR
-// @match        *://*.youtube.com/watch*
-// @match        *://*.youtube.com/clip*
+// @match        *://*.youtube.com/*
 // @exclude      *://music.youtube.com/*
 // @exclude      *://music.youtube.com/*
 // @exclude      *://*.music.youtube.com/*
 // @exclude      *://*.music.youtube.com/*
 // @compatible   chrome
 // @compatible   chrome

+ 5 - 1
Extensions/combined/manifest-chrome.json

@@ -19,7 +19,11 @@
   },
   },
   "content_scripts": [
   "content_scripts": [
     {
     {
-      "matches": ["*://*.youtube.com/watch*", "*://*.youtube.com/clip*"],
+      "matches": [
+        "*://youtube.com/*",
+        "*://www.youtube.com/*",
+        "*://m.youtube.com/*"
+      ],
       "exclude_matches": ["*://*.music.youtube.com/*"],
       "exclude_matches": ["*://*.music.youtube.com/*"],
       "js": ["ryd.content-script.js"],
       "js": ["ryd.content-script.js"],
       "css": ["content-style.css"]
       "css": ["content-style.css"]

+ 1 - 1
Extensions/combined/manifest-firefox.json

@@ -16,7 +16,7 @@
   },
   },
   "content_scripts": [
   "content_scripts": [
     {
     {
-      "matches": ["*://*.youtube.com/watch*", "*://*.youtube.com/clip*"],
+      "matches": ["*://*.youtube.com/*"],
       "exclude_matches": ["*://*.music.youtube.com/*"],
       "exclude_matches": ["*://*.music.youtube.com/*"],
       "run_at": "document_idle",
       "run_at": "document_idle",
       "css": ["content-style.css"],
       "css": ["content-style.css"],