DuMont Bug Fix

This commit is contained in:
tobimori 2020-03-14 17:12:57 +01:00
parent cfbb9ba703
commit ecbdb6c18c

View File

@ -1,4 +1,4 @@
if (document.getElementsByClassName("ssoTemplate pay wall")) {
if (document.getElementsByClassName("dm_article_headline teaser_heading_paid paid_logo")) {
let txt = JSON.parse(document.getElementsByTagName("script")[11].innerHTML).articleBody;
if(!txt){txt = JSON.parse(document.getElementsByTagName("script")[13].innerHTML).articleBody}
document.getElementsByClassName("selectionShareable")[1].innerHTML = txt;