Fix-update Medium (banner)

This commit is contained in:
magnolia1234 2020-05-27 22:30:22 +02:00
parent 61ebe48ab6
commit 9485bbec2d

View file

@ -201,10 +201,9 @@ else if (matchDomain("bloombergquint.com")) {
removeDOMElement(articlesLeftModal, paywall); removeDOMElement(articlesLeftModal, paywall);
} }
else if (matchDomain("medium.com")) { else if (matchDomain(["medium.com", "towardsdatascience.com"])) {
const bottomMessageText = 'Get one more story in your member preview when you sign up. Its free.'; let meter = document.querySelector('#lo-highlight-meter-1-highlight-box');
const DOMElementsToTextDiv = pageContains('div', bottomMessageText); removeDOMElement(meter);
if (DOMElementsToTextDiv[2]) removeDOMElement(DOMElementsToTextDiv[2]);
} }
else if (matchDomain("ledevoir.com")) { else if (matchDomain("ledevoir.com")) {