|
|
|
@ -3145,6 +3145,31 @@ else if (matchDomain('cambiocolombia.com')) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else if (matchDomain('cartacapital.com.br')) {
|
|
|
|
|
let paywall = document.querySelector('aside.paywall');
|
|
|
|
|
if (paywall) {
|
|
|
|
|
removeDOMElement(paywall);
|
|
|
|
|
let json_script = getArticleJsonScript();
|
|
|
|
|
if (json_script) {
|
|
|
|
|
try {
|
|
|
|
|
let json = JSON.parse(json_script.text);
|
|
|
|
|
if (json) {
|
|
|
|
|
let json_text = json[1].articleBody.replace(/\s{2,}/g, '\r\n\r\n');
|
|
|
|
|
let content = document.querySelector('section.s-content__text');
|
|
|
|
|
if (json_text && content) {
|
|
|
|
|
content.innerHTML = '';
|
|
|
|
|
let article_new = document.createElement('p');
|
|
|
|
|
article_new.innerText = json_text;
|
|
|
|
|
content.appendChild(article_new);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} catch (err) {
|
|
|
|
|
console.log(err);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
else if (matchDomain('crusoe.com.br')) {
|
|
|
|
|
let ads = document.querySelectorAll('#gpt-leaderboard, .ads_desktop, .catchment-box');
|
|
|
|
|
hideDOMElement(...ads);
|
|
|
|
|