aboutsummaryrefslogtreecommitdiff
/**
 * SPDX-License-Identifier: CC0-1.0
 *
 * Watch vaticannews.va embedded YouTube videos on yewtu.be instead
 *
 * Copyright (C) 2021 Wojtek Kosior <koszko@koszko.org>
 *
 * 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.vaticannews.va/*** */

for (const iframe of document.querySelectorAll("iframe[data-src]")) {
    const youtube_url = iframe.getAttribute("data-src");
    iframe.setAttribute("src", make_yewtube_url(youtube_url));
}
Tobias Geerinckx-Rice 2018-08-16gnu: s6-portable-utils: Update to 2.2.1.2....Tobias Geerinckx-Rice 2018-08-16gnu: s6-rc: Update to 0.4.1.0....Tobias Geerinckx-Rice 2018-08-16gnu: s6-networking: Update to 2.3.0.3....Tobias Geerinckx-Rice 2018-08-16gnu: s6-dns: Update to 2.3.0.1....Tobias Geerinckx-Rice 2018-08-16gnu: s6: Update to 2.7.2.0....Tobias Geerinckx-Rice 2018-08-16gnu: execline: Update to 2.5.0.1....Tobias Geerinckx-Rice 2018-08-16gnu: skalibs: Update to 2.7.0.0....Tobias Geerinckx-Rice 2018-05-31gnu: s6-rc: Update to 0.4.0.1....Tobias Geerinckx-Rice 2018-05-31gnu: skalibs: Update to 2.6.4.0....Tobias Geerinckx-Rice 2018-02-23gnu: s6-networking: Update to 2.3.0.2....Tobias Geerinckx-Rice 2018-02-23gnu: s6-dns: Update to 2.3.0.0....Tobias Geerinckx-Rice 2018-02-23gnu: Add s6-linux-init....Tobias Geerinckx-Rice 2018-02-23gnu: s6-linux-utils: Update to 2.4.0.2....Tobias Geerinckx-Rice 2018-02-23gnu: s6-rc: Update to 0.4.0.0....Tobias Geerinckx-Rice 2018-02-23gnu: s6: Update to 2.7.0.0....Tobias Geerinckx-Rice 2018-02-23gnu: s6-portable-utils: Update to 2.2.1.1....Tobias Geerinckx-Rice 2018-02-23gnu: execline: Update to 2.3.0.4....Tobias Geerinckx-Rice 2018-02-23gnu: skalibs: Update to 2.6.3.1....Tobias Geerinckx-Rice 2018-02-23gnu: skarnet: Use HTTPS for home pages....Tobias Geerinckx-Rice 2017-12-11gnu: skalibs: Fix non-reproducibility issue....Z. Ren 2017-08-22gnu: skalibs: Build reproducibly....Z. Ren