diff options
Diffstat (limited to 'scripts-greasemonkey')
-rw-r--r-- | scripts-greasemonkey/Youtube_to_Invidious.user.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts-greasemonkey/Youtube_to_Invidious.user.js b/scripts-greasemonkey/Youtube_to_Invidious.user.js index c0d6ed0..4dd2f5f 100644 --- a/scripts-greasemonkey/Youtube_to_Invidious.user.js +++ b/scripts-greasemonkey/Youtube_to_Invidious.user.js @@ -13,7 +13,7 @@ // @exclude /^http(s|)://(www\.|)tube\.poal\.co/.*$/ // @exclude /^http(s|)://(www\.|)invidious\.13ad\.de/.*$/ // @grant GM_xmlhttpRequest -// @version 8.4.2 +// @version 8.4.1 // ==/UserScript== /* jshint esversion: 6 */ @@ -25,7 +25,6 @@ var b=1; //set to 0 to not replace all youtube links to Invidious [default 1] var c=1; //set to 0 to disable DASH playback (beta feature) [default 1] var d=1; //set to 0 to disable Invidious proxy [default 1] var e=1; //set to 0 to disable bypass of url shorteners [default 1] -var f=1; //set to 0 to disable dark-theme [default 1] var ytdomains=new RegExp(/http(s|)\:\/\/(m\.|i\.|www\.|img\.|)(youtu(|be|be-nocookie)|.*ytimg)\.(com|be)\/.*/); var shorteners=new RegExp(/^http(s|):\/\/(bit.ly|goo.gl|tinyurl.com|t.co|ow.ly|is.gd|buff.ly|deck.ly|su.pr|lnk.co|fur.ly|moourl.com|)\/.*/); @@ -166,6 +165,5 @@ function ytel(el){ } function ythref(el){ - // return ref return(decodeURIComponent(el.href).match(ytdomains)); } |