From e24c60dd6acbb8db5912a7715c302374d7eb18b8 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 18 Feb 2022 18:51:22 +0100 Subject: translate all site fixes to the new Hydrilla format Fixes in new format are yet to be tested. Things may break. Alternative site interfaces were removed. This repository is meant exclusively for holding fixes for js-encumbered websites. Jahoti's SParse code shall be put in a separate repository. --- content/syoutube/index.json | 6 ------ content/syoutube/youtube_yewtube_redirection.js | 19 ------------------- 2 files changed, 25 deletions(-) delete mode 100644 content/syoutube/index.json delete mode 100644 content/syoutube/youtube_yewtube_redirection.js (limited to 'content/syoutube') diff --git a/content/syoutube/index.json b/content/syoutube/index.json deleted file mode 100644 index 4a3171b..0000000 --- a/content/syoutube/index.json +++ /dev/null @@ -1,6 +0,0 @@ -{ -"type" : "script", -"name" : "youtube_2_yewtube_redirection", -"sha256" : "5a6b0495f122459cae22d921c3719bc5c449f30eefcc070e8aa2b27cf4e01b70", -"location" : "youtube_yewtube_redirection.js" -} diff --git a/content/syoutube/youtube_yewtube_redirection.js b/content/syoutube/youtube_yewtube_redirection.js deleted file mode 100644 index 308771e..0000000 --- a/content/syoutube/youtube_yewtube_redirection.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copyright (C) 2021, Wojtek Kosior - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the CC0 1.0 Universal License as published by - * the Creative Commons Corporation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * CC0 1.0 Universal License for more details. - * Available under the terms of Creative Commons Zero. - */ - -/* Use with https://www.youtube.com/*** */ - -/* Redirect youtube.com to yewtu.be */ - -window.location.href = make_yewtube_url(document.URL); -- cgit v1.2.3