Fix DLF kultur button placement.

This commit is contained in:
tastytea 2021-04-29 13:51:46 +02:00
parent 29c5109c0a
commit 72a0eebcd7
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
// @name DLF download button // @name DLF download button
// @description Adds a download button for each audio file on DLF sites. // @description Adds a download button for each audio file on DLF sites.
// @description:de Fügt einen download-button für jede audio-datei auf DLF-seiten hinzu. // @description:de Fügt einen download-button für jede audio-datei auf DLF-seiten hinzu.
// @version 2019.07.11.1 // @version 2021.04.29.1
// @author tastytea // @author tastytea
// @copyright 2019, tastytea (https://tastytea.de/) // @copyright 2019, 2021, tastytea (https://tastytea.de/)
// @license GPL-3.0-only // @license GPL-3.0-only
// @namespace tastytea.de // @namespace tastytea.de
// @homepageURL https://schlomp.space/tastytea/userscripts // @homepageURL https://schlomp.space/tastytea/userscripts
@ -76,7 +76,7 @@ function add_button(url)
} }
// deutschlandfunknova.de // deutschlandfunknova.de
root = document.getElementsByClassName("meta__share")[0]; root = document.getElementsByClassName("podcast--buttons")[0];
if (root !== undefined) if (root !== undefined)
{ {
root.parentElement.insertBefore(button, root); root.parentElement.insertBefore(button, root);