|
|
@ -3258,6 +3258,7 @@ else if (matchDomain('cambiocolombia.com')) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
else if (matchDomain('cartacapital.com.br')) {
|
|
|
|
else if (matchDomain('cartacapital.com.br')) {
|
|
|
|
|
|
|
|
if (!window.location.pathname.endsWith('/amp/')) {
|
|
|
|
let paywall = document.querySelector('aside.paywall');
|
|
|
|
let paywall = document.querySelector('aside.paywall');
|
|
|
|
if (paywall) {
|
|
|
|
if (paywall) {
|
|
|
|
removeDOMElement(paywall);
|
|
|
|
removeDOMElement(paywall);
|
|
|
@ -3279,7 +3280,18 @@ else if (matchDomain('cartacapital.com.br')) {
|
|
|
|
console.log(err);
|
|
|
|
console.log(err);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
let content_soft = document.querySelector('div.contentSoft');
|
|
|
|
|
|
|
|
if (content_soft) {
|
|
|
|
|
|
|
|
content_soft.removeAttribute('class');
|
|
|
|
|
|
|
|
let freemium = document.querySelectorAll('div[class^="s-freemium"], div.maggazine-add');
|
|
|
|
|
|
|
|
removeDOMElement(...freemium);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
let ads = document.querySelectorAll('div.div_ros_topo');
|
|
|
|
|
|
|
|
hideDOMElement(...ads);
|
|
|
|
|
|
|
|
} else
|
|
|
|
|
|
|
|
ampToHtml();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
else if (matchDomain('crusoe.com.br')) {
|
|
|
|
else if (matchDomain('crusoe.com.br')) {
|
|
|
@ -3508,7 +3520,7 @@ else if (window.location.hostname.endsWith('.cl') && document.querySelector('hea
|
|
|
|
else
|
|
|
|
else
|
|
|
|
csDone = true;
|
|
|
|
csDone = true;
|
|
|
|
|
|
|
|
|
|
|
|
} else {//other (like com/org & not at/be/br/ch/cl/de/dk/fi/fr/es/ie/nl/no/pe/pt/se/uk))
|
|
|
|
} else {//other (like com/org & not ar/at/au/be/br/cat/ch/cl/de/dk/fi/fr/es/ie/nl/pe/pt/se/uk/uy))
|
|
|
|
|
|
|
|
|
|
|
|
if (matchDomain(usa_adv_local_domains)) {
|
|
|
|
if (matchDomain(usa_adv_local_domains)) {
|
|
|
|
if (window.location.search.startsWith('?outputType=amp')) {
|
|
|
|
if (window.location.search.startsWith('?outputType=amp')) {
|
|
|
|