mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-02 02:41:22 +01:00
Merge pull request #204 from trevorpetersen/youtube_music_bug
Fix Issue #195: Fix bug where extension was being loaded on youtube music domains
This commit is contained in:
3 files changed
+4
No files matched your search
@@ -8,6 +8,8 @@
|
|||||||
// @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/*
|
// @match *://*.youtube.com/*
|
||||||
|
// @exclude *://music.youtube.com/*
|
||||||
|
// @exclude *://*.music.youtube.com/*
|
||||||
// @compatible chrome
|
// @compatible chrome
|
||||||
// @compatible firefox
|
// @compatible firefox
|
||||||
// @compatible opera
|
// @compatible opera
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["*://*.youtube.com/*"],
|
"matches": ["*://*.youtube.com/*"],
|
||||||
|
"exclude_matches": ["*://*.music.youtube.com/*"],
|
||||||
"js": ["return-youtube-dislike.content-script.js"],
|
"js": ["return-youtube-dislike.content-script.js"],
|
||||||
"run_at": "document_start",
|
"run_at": "document_start",
|
||||||
"css": ["content-style.css"]
|
"css": ["content-style.css"]
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
"content_scripts": [
|
"content_scripts": [
|
||||||
{
|
{
|
||||||
"matches": ["*://*.youtube.com/*"],
|
"matches": ["*://*.youtube.com/*"],
|
||||||
|
"exclude_matches": ["*://*.music.youtube.com/*"],
|
||||||
"js": ["content-script.js"],
|
"js": ["content-script.js"],
|
||||||
"run_at": "document_idle",
|
"run_at": "document_idle",
|
||||||
"css": ["content-style.css"]
|
"css": ["content-style.css"]
|
||||||
|
|||||||
Reference in new issue
Block a user