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);
}
else if (matchDomain("medium.com")) {
const bottomMessageText = 'Get one more story in your member preview when you sign up. Its free.';
const DOMElementsToTextDiv = pageContains('div', bottomMessageText);
if (DOMElementsToTextDiv[2]) removeDOMElement(DOMElementsToTextDiv[2]);
else if (matchDomain(["medium.com", "towardsdatascience.com"])) {
let meter = document.querySelector('#lo-highlight-meter-1-highlight-box');
removeDOMElement(meter);
}
else if (matchDomain("ledevoir.com")) {