From 4c5f3967bb9afab337ba1eb6c7309fe0b5580f24 Mon Sep 17 00:00:00 2001 From: Perflyst Date: Fri, 25 Jan 2019 19:34:18 +0100 Subject: [PATCH] Created Always use "dash" to proxy video through the server without creating an account (markdown) --- ...the-server-without-creating-an-account.md" | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 "Always-use-\"dash\"-to-proxy-video-through-the-server-without-creating-an-account.md" diff --git "a/Always-use-\"dash\"-to-proxy-video-through-the-server-without-creating-an-account.md" "b/Always-use-\"dash\"-to-proxy-video-through-the-server-without-creating-an-account.md" new file mode 100644 index 0000000..993c20d --- /dev/null +++ "b/Always-use-\"dash\"-to-proxy-video-through-the-server-without-creating-an-account.md" @@ -0,0 +1,22 @@ +Download Tampermonkey for your Browser: +[Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey/) +[Chrome and Chromium](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo) +[Opera](https://addons.opera.com/extensions/details/tampermonkey-beta/) + +Than add the following script in Tampermonkey. It will always add `&quality=dash` to the end of the video url. + +``` +// ==UserScript== +// @name Invidious Proxy automatically +// @match *://*.invidio.us/watch?v=* +// @run-at document-start +// @grant none +// ==/UserScript== + + +if (!(/[?&]quality=dash/).test(location.search)) { + location.search += (location.search ? "&" : "?") + "quality=dash"; +} +``` + +##### NOTE: At the moment `googlevideo.com` will still be loaded as third party even with `dash` enabled. The current workaround is to either block this with [uBlock](https://addons.mozilla.org/firefox/addon/ublock-origin/), [uMatrix](https://addons.mozilla.org/firefox/addon/umatrix/) or [NoScript](https://addons.mozilla.org/firefox/addon/noscript/) \ No newline at end of file