diff options
author | Jesús <heckyel@hyperbola.info> | 2019-10-10 21:52:16 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-10-10 21:52:16 -0500 |
commit | 725f7bac0ec3ae6f42792bd46374242381ee56b0 (patch) | |
tree | d45564577b3832067c745e18231b65d4e7266ad6 /scripts-greasemonkey | |
parent | 59ef2a40f6504c9881473ecbf6337ad503fbde7f (diff) | |
download | book-725f7bac0ec3ae6f42792bd46374242381ee56b0.tar.lz book-725f7bac0ec3ae6f42792bd46374242381ee56b0.tar.xz book-725f7bac0ec3ae6f42792bd46374242381ee56b0.zip |
[scripts-greasemonkey] minor fix
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)); } |