Escolar Documentos
Profissional Documentos
Cultura Documentos
Blur
Blur
importCDNSnackBar();
if(currentURL.includes("folha.uol.com.br")){
saveDataForDashboard(1);
blockPaywallRequest("*://paywall.folha.uol.com.br/*");
modifyFLSP();
}else if(currentURL.includes("estadao.com.br")){
saveDataForDashboard(2);
blockPaywallRequest("*://acesso.estadao.com.br/paywall*");
function modifyOPOVO()
{
if(window.location.href == "https://mais.opovo.com.br/"){
window.location.assign("https://mais.opovo.com.br/home");
}
verificaAtualizacaoVersao();
}
mountSweetAlert(
'info',
'Aguarde um momento...',
'Estamos removendo os bloqueios para você...<br><br>'
);
if(resp.data.hasOwnProperty("content")){
let cacheSourceCode = new
DOMParser().parseFromString(resp.data.content, "text/html");
let blocoNoticia = getArticle(cacheSourceCode);
let blocoOriginal = getArticle(document);
let u = setInterval(()=>{
if(blocoNoticia != null && blocoOriginal !=
null){
clearInterval(u);
console.log(`CODE CACHE = $
{blocoNoticia.outerHTML}`);
console.log(`CODE ORIGINAL = $
{blocoOriginal.outerHTML}`);
blocoOriginal.innerHTML =
blocoNoticia.outerHTML;
sweetAlert(
'success',
'Sucesso',
'Ótimo! Conteúdo desbloqueado!'
);
setTimeout(()=>{
removeAds();
corrigeImgsCache();
},3000);
removeBlockCelularVLRECON();
}
}
},800);
}else{
sweetAlert(
'warning',
'Atenção',
'Ops, infelizmente não foi possível
desbloquear essa página. <br>Por favor, tente acessar a noticia mais
tarde.<br><br>'
);
return;
}
}
},800);
}else{
setTimeout(()=>{
window.location.assign(`https://webcache.googleusercontent.com/search?q=cache:$
{window.location.href}`);
},1500);
}
}).catch((erro)=>{
if(erro.toString().includes('timeout')){
SwalTimeout(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por
favor, tente novamente utilizando uma conexão mais rápida.<br><br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${erro}`,
'https://valor.globo.com'
);
}else{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${erro}`
);
}
});
}
},800);
}
},800);
}else{
//TRECHO DO CÓDIGO RESPONSÁVEL POR PEGAR CACHE DA PÁGINA
mountSweetAlert(
'info',
'Aguarde mais um momento...',
'Estamos removendo os bloqueios para você...<br><br>'
);
//FAZ GET PARA PRÓPRIA PAGINA PARA PEGAR CÓDIGO FONTE DELA
fetch(document.location.href)
.then((response) => {
if(response.status == 200){
response.text().then(pageSource => {
pageSource = new
DOMParser().parseFromString(pageSource, 'text/html');
let article = getArticle(pageSource);
let blocoNoticia = (article != false) ?
article.outerHTML : pageSource.outerHTML;
let l = setInterval(()=>{
if((key != null || key != undefined) && (pageSource
!= null || pageSource != undefined) && (blocoNoticia != null || blocoNoticia !=
undefined)){
clearInterval(l);
Swal.fire({
icon: icon,
title: title,
html: msg,
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: true,
confirmButtonText: `Tentar novamente`,
showCancelButton: true,
cancelButtonText: `Voltar para ${homeLink}`,
backdrop: 'rgba(8, 8, 8, 0.92)',
customClass: {
popup: 'snackZ-index',
container: 'snackZ-index'
}
}).then((result) => {
if(result.isConfirmed) window.location.reload();
else window.location.replace(homeLink);
});
}
},800);
}
Swal.fire({
icon: icon,
title: title,
html: msg,
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: true,
confirmButtonText: `Voltar para ${homeLink}`,
//showDenyButton: true,
//denyButtonText: `Fechar guia`,
backdrop: 'rgba(8, 8, 8, 0.92)',
customClass: {
popup: 'snackZ-index',
container: 'snackZ-index'
}
}).then((result) => {
if(result.isConfirmed) window.location.replace(homeLink);
/* else if(result.isDenied) window.close(); */
});
}
},800);
}
function genHashKey()
{
let url = window.location.href;
let part2 = url.split("cache:");
let uri = part2[part2.length-1];
return (uri.includes('valor.globo.com'))
? {hash: `/${uri.split('valor.globo.com/')[1]}`, url: uri}
: {hash: `/${uri.split('opopular.com.br/')[1]}`, url: uri};
}
function corrigeImgsCache()
{
let divs = document.querySelectorAll('div');
function removeBlockCelularVLRECON()
{
try{
let block = document.querySelector(".barber-barrier-cpnt");
backdropColor = (
window.location.href.includes("webcache.googleusercontent.com/search?
q=cache:https://opopular.com.br") ||
window.location.href.includes("webcache.googleusercontent.com/search?
q=cache:https://valor.globo.com")
)
? 'rgba(8, 8, 8, 0.92)' : '';
if(icon == 'success'){
Swal.fire({
icon: icon,
title: title,
html: msg,
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: opt,
timer: 7000,
timerProgressBar: true,
customClass: {
popup: 'snackZ-index',
container: 'snackZ-index'
}
});
window.stop();
return;
}
Swal.fire({
icon: icon,
title: title,
html: msg,
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: opt,
backdrop: backdropColor,
customClass: {
popup: 'snackZ-index',
container: 'snackZ-index'
}
});
}
function getArticle(scope)
{
let articles = scope.querySelectorAll('article');
return false;
}
function removeAds()
{
let divs = document.querySelectorAll('div');
function modyfyJORNALCOMERCIO()
{
if((window.location.href).includes("https://impresso.jc.ne10.uol.com.br/")){
if(window.location.href == "https://impresso.jc.ne10.uol.com.br/"){
window.location.replace("https://impresso.jc.ne10.uol.com.br/index.php?
id=/txt.php");
}
let r = setInterval(()=>{
if(verificaElemento('#preloader-jconline')){
clearInterval(r);
document.getElementById("preloader-jconline").remove();
blockPaywallRequest("*://me.jsuol.com.br/*");
}
},800);
}
else{
blockPaywallRequest("*://s3.amazonaws.com/sdk-signin-wall-production/
bundle.js*");
}
}
function modifyOTEMPO()
{
let r = setInterval(()=>{
if(verificaElemento('#div-paywall-element')){
clearInterval(r);
const TOKEN_DECODED =
polopoly.base64.decode(TOKEN_ENCODED);
const GUID = getArticleGuid();
axios({
method: 'GET',
url: `${window.location.origin}/rest-
services/emotion-service/noticia?guid=${GUID}&token=${TOKEN_DECODED}`,
timeout: 30000,
headers: {'accept': 'application/json'}
}).then((resp)=>{
if(resp.data[i].hasOwnProperty('content')){
if(resp.data[i].content != ""
&& resp.data[i].content != undefined){
conteudoMateria +=
resp.data[i].content;
}
}
//GET NOTAS
if(resp.data[i].hasOwnProperty('notas')){
for(let n=0;
n<resp.data[i].notas.length; n++){
if(resp.data[i].hasOwnProperty('title')){
conteudoMateria += `<h4
style="font-size: 18px !important; font-weight: 700 !important;">$
{resp.data[i].notas[n].title}</h4>`;
}
let waitConteudoMateria =
setInterval(()=>{
if(conteudoMateria != null){
clearInterval(waitConteudoMateria);
try{
document.querySelector('.artigo-conteudo-article').innerHTML += conteudoMateria;
sweetAlert(
'success',
'Sucesso',
'Ótimo! Conteúdo
desbloqueado!'
);
incrementaConteudoAPI();
verificaAtualizacaoVersao();
removePaywallBanner();
restoreImgs();
}catch(erro){
sweetAlert(
'error',
'Erro',
`Ops, tivemos um
pequeno problema!<br>Por favor, tente novamente mais tarde.<br><br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${erro.toString()}`
);
}
}
},800);
}).catch((erro)=>{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!
<br>Por favor, tente novamente mais tarde.<br><br><spam style='font-weight: bold !
important;'>Código do erro: </spam>[O Tempo Request] ${erro.toString()}`
);
});
}
},800);
}
},800);
}).catch((erro)=>{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por favor, tente
novamente mais tarde.<br><br><spam style='font-weight: bold !important;'>Código do
erro: </spam>[Internal API Request] ${erro.toString()}`
);
});
}
},800);
}
},800);
}
function getArticleGuid() {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get('aId');
}
function removePaywallBanner()
{
if(verificaElemento('.reset-overlay')) document.querySelector('.reset-
overlay').remove();
}
function restoreImgs()
{
let imgs = document.querySelectorAll('img');
function modifyDIARIOSM()
{
//ADD JQUERY JS
let jqueryJS = document.createElement('script');
jqueryJS.setAttribute('src', 'https://code.jquery.com/jquery-3.6.0.min.js');
document.body.appendChild(jqueryJS);
let r = setInterval(()=>{
if(verificaElemento('.row-bloqueio') && typeof($) == 'function' &&
findPaywallText()){
clearInterval(r);
try{
let base64ParsedBody = CryptoJS.enc.Base64.parse(parsedBody);
let cryptoKey =
CryptoJS.enc.Base64.parse('u/Gu5posvwDsXUnV5Zaq4g==');
let cryptoIv =
CryptoJS.enc.Base64.parse('5D9r9ZVzEYYgha93/aUK2w==');
$(".suita-artigo .row-conteudo .post-
content").html(CryptoJS.enc.Utf8.stringify(CryptoJS.AES.decrypt({
ciphertext: base64ParsedBody
}, cryptoKey, {
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7,
iv: cryptoIv,
})));
$(".suita-artigo .row-conteudo").show();
$(".suita-artigo .videos").show();
$(".suita-artigo .imagens").show();
$(".suita-artigo .elementos").show();
$(".suita-artigo .row-loading").hide();
let u = setInterval(()=>{
if(typeof(twttr) == 'object'){
clearInterval(u);
twttr.widgets.load();
}
},800);
document.querySelector('.row-bloqueio').remove();
incrementaConteudoAPI();
verificaAtualizacaoVersao();
}catch(erro){
if(typeof(Swal) == 'function'){
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por favor, tente
novamente mais tarde.<br><br><spam style='font-weight: bold !important;'>Código do
erro: </spam>${erro.toString()}`
);
}else{
alert(erro.toString());
}
}
}
},800);
}
function findPaywallText()
{
let h1 = document.querySelectorAll('h1');
for(let i=0; i<h1.length; i++){
if(h1[i].textContent.includes("Conteúdo exclusivo!")){
return true;
}
}
return false;
}
let y = setInterval(()=>{
if(verificaElemento('.locked-news') && articlesIsRemoved &&
typeof(axios) == 'function' && verificaElemento('#styleSnack')){
clearInterval(y);
mountSweetAlert(
'info',
'Aguarde um momento...',
'Estamos removendo os bloqueios para você...<br><br>'
);
if(resp.data.hasOwnProperty("content")){
let cacheSourceCode = new
DOMParser().parseFromString(resp.data.content, "text/html");
let blocoNoticia =
getArticleBodyPOPULAR(cacheSourceCode);
let blocoOriginal =
getArticleBodyPOPULAR(document);
let u = setInterval(()=>{
if(blocoNoticia != null && blocoOriginal !=
null){
clearInterval(u);
console.log(`CODE CACHE = $
{blocoNoticia.outerHTML}`);
console.log(`CODE ORIGINAL = $
{blocoOriginal.outerHTML}`);
incrementaConteudoAPI();
verificaAtualizacaoVersao();
}else{
sweetAlert(
'warning',
'Atenção',
'Ops, infelizmente não foi possível
desbloquear essa página. <br>Por favor, tente acessar a noticia mais
tarde.<br><br>'
);
return;
}
}
},800);
}else{
setTimeout(()=>{
window.location.assign(`https://webcache.googleusercontent.com/search?q=cache:$
{window.location.href}`);
},1500);
}
}).catch((erro)=>{
if(erro.toString().includes('timeout')){
SwalTimeout(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por
favor, tente novamente utilizando uma conexão mais rápida.<br><br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${erro}`,
'https://opopular.com.br'
);
}else{
sweetAlert(
'warning',
'Atenção',
`Ops, tivemos um pequeno problema!<br> Por
favor, recarregue a página para tentar novamente.<spam style='font-weight: bold !
important;'>Código do erro: [API FAILED REQUEST TO RESPONSE FILE] - </spam>`
);
}
});
}
},800);
}
},800);
}else{
//TRECHO DO CÓDIGO RESPONSÁVEL POR PEGAR CACHE DA PÁGINA
mountSweetAlert(
'info',
'Aguarde mais um momento...',
'Estamos removendo os bloqueios para você...<br><br>'
);
//FAZ GET PARA PRÓPRIA PAGINA PARA PEGAR CÓDIGO FONTE DELA
fetch(document.location.href)
.then((response) => {
if(response.status == 200){
response.text().then(pageSource => {
pageSource = new
DOMParser().parseFromString(pageSource, 'text/html');
let article = getArticleBodyPOPULAR(pageSource);
let blocoNoticia = (article != false) ?
article.outerHTML : pageSource.outerHTML;
console.clear();
let l = setInterval(()=>{
try{
console.log(`KEY = ${key}`);
console.log(`PAGE SOURCE = ${pageSource !=
null}`);
console.log(`BLOCO NOTICIA = $
{blocoNoticia.outerHTML}`);
}catch(erro){
}
if((key != null || key != undefined) && (pageSource
!= null || pageSource != undefined) && (blocoNoticia != null || blocoNoticia !=
undefined)){
clearInterval(l);
function getArticleBodyPOPULAR(scope)
{
let articles = scope.querySelectorAll('section');
return false;
}
function hideKeepReadingChildren()
{
let keepReadingChildren;
if(verificaElemento("#keep-reading")){
keepReadingChildren = document.getElementById("keep-reading").children;
for(let i=0; i<keepReadingChildren.length; i++){
if(i==0) continue;
keepReadingChildren[i].style.display = 'none';
}
if(verificaElemento('.for-top-news')){
document.querySelector('.for-top-news').remove();
}
}
return false;
}
function removeLockedNewsContainers()
{
let lockedNews = document.querySelectorAll('.locked-news');
for(let i=0; i<lockedNews.length; i++){
lockedNews[i].remove();
}
}
function removeArticles()
{
let allArticles = document.querySelectorAll('article');
for(let i=0; i<allArticles.length; i++){
if(i==0) continue;
allArticles[i].remove();
}
return true;
}
function removeAdBetweenArticles()
{
let allAdBetweenArticles = document.querySelectorAll('.ad-between-articles');
for(let i=0; i<allAdBetweenArticles.length; i++){
allAdBetweenArticles[i].remove();
}
}
function fixVideoRender()
{
if(window.location.href.includes('/videos')){
let iframes = document.querySelectorAll('iframe');
for(let i=0; i<iframes.length; i++){
if(iframes[i].hasAttribute('src')){
let currentSrc = iframes[i].getAttribute('src');
iframes[i].removeAttribute('src');
iframes[i].setAttribute('src', currentSrc);
}
}
}
}
function removeCommentDiv()
{
if(verificaElemento('.comment')){
document.querySelector('.comment').remove();
}
}
function modifyBRAINLY()
{
let r = setInterval(()=>{
if(verificaElemento('.brn-qpage-next-answer-box-content') &&
verificaElemento('.js-react-bottom-banner')){
clearInterval(r);
if(typeof(axios) == 'function'){
axios({
method: METHOD_REQUEST,
url: `${URL_REQUEST}${window.location.href}`,
timeout: 30000
}).then((resp)=>{
if(resp.data.hasOwnProperty('erro')){
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${resp.data.erro}`
);
return;
}
removeBrainlyBlocks();
expandAnswerDiv();
let u = setInterval(()=>{
if(verificaElemento("#styleSnack")){
clearInterval(u);
for(let i=0; i<resp.data.answers.length; i++){
allAnswersBlocks[i].innerHTML =
resp.data.answers[i];
if(i == (resp.data.answers.length)-1){
Swal.fire({
icon: 'success',
title: 'Sucesso',
html: 'Ótimo! Conteúdo desbloqueado!',
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: true,
timer: 7000,
timerProgressBar: true,
customClass: {
popup: 'snackZ-index',
container: 'snackZ-index'
}
});
observerResposta(resp.data.answers);
incrementaConteudoAPI();
verificaAtualizacaoVersao();
//setActionBtnVerRespostaBrainly();
}
}
}
},800);
}).catch((erro)=>{
if(erro.toString().includes('timeout')){
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por favor, tente
novamente utilizando uma conexão mais rápida.<br><br><spam style='font-weight: bold
!important;'>Código do erro: </spam>${erro}`
);
}else{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${erro}`
);
}
});
}else{
fetch(`${URL_REQUEST}${window.location.href}`,
{
method: METHOD_REQUEST
}).then(function(res){ return res.json(); })
.then(function(resp){
if(resp.hasOwnProperty('erro')){
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${resp.erro}`
);
return;
}
removeBrainlyBlocks();
expandAnswerDiv();
let u = setInterval(()=>{
if(verificaElemento("#styleSnack")){
clearInterval(u);
for(let i=0; i<resp.answers.length; i++){
allAnswersBlocks[i].innerHTML = resp.answers[i];
if(i == (resp.answers.length)-1){
Swal.fire({
icon: 'success',
title: 'Sucesso',
html: 'Ótimo! Conteúdo desbloqueado!',
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: true,
timer: 7000,
timerProgressBar: true,
customClass: {
popup: 'snackZ-index',
container: 'snackZ-index'
}
});
observerResposta(resp.answers);
incrementaConteudoAPI();
verificaAtualizacaoVersao();
setActionBtnVerRespostaBrainly();
}
}
}
},800);
}).catch((erro)=>{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br><spam style='font-
weight: bold !important;'>Código do erro: </spam>${erro}`
);
});
}
}
},800);
}
function observerResposta(answers)
{
setInterval(()=>{
let btns = document.querySelectorAll("button");
for(let i=0; i<btns.length; i++){
let childNodesBtn = btns[i].childNodes;
for(let j=0; j<childNodesBtn.length; j++){
if(childNodesBtn[j].textContent == 'Desbloquear'){
let answersBlocks_1 = document.querySelectorAll('.brn-qpage-
next-answer-box-content');
let answersBlocks_2 = document.querySelectorAll('.brn-qpage-
next-dummy-unlock-section');
let allAnswersBlocks =
[...answersBlocks_1, ...answersBlocks_2];
function expandAnswerDiv()
{
//TIRA MAX-HEIGHT DAS DIVS DE RESPOSTA
let r = setInterval(()=>{
if(verificaElemento('.brn-qpage-next-answer-box__content--blocked')){
clearInterval(r);
let answersBlocks = document.querySelectorAll('.brn-qpage-next-answer-
box__content--blocked');
for(let i=0; i<answersBlocks.length; i++){
answersBlocks[i].style.maxHeight = 'unset';
answersBlocks[i].style.position = 'unset';
}
}
},800);
}
function setActionBtnVerRespostaBrainly()
{
let f1 = findBtnVerResposta();
let f2 = findFlag();
let r = setInterval(()=>{
if(f1 != false && f2 != false){
clearInterval(r);
try{
document.getElementById('btnResposta').addEventListener('click',
(event)=>{
event.preventDefault();
window.location.href = '#FLAG_AQUI';
});
}catch(e){
console.log('Erro ao setar action no botão');
}
}
},800);
}
function findFlag()
{
let flag = document.querySelector('.js-react-question-box-comments');
flag.setAttribute('id', 'FLAG_AQUI');
document.querySelector('html').style.cssText += 'scroll-behavior: smooth;';
return flag;
}
function findBtnVerResposta()
{
let btns = document.querySelectorAll('button');
return false;
}
function removeBrainlyBlocks()
{
//REMOVE BLOQUEIO DE CIMA DAS DIVS
let r = setInterval(()=>{
let bannerBlock = document.querySelectorAll('div');
for(let i=0; i<bannerBlock.length; i++){
if(bannerBlock[i].hasAttribute('data-testid')){
if(bannerBlock[i].getAttribute('data-testid') ==
'unlock_section_wrapper'){
clearInterval(r);
bannerBlock[i].remove();
}
}
}
},800);
let z = setInterval(()=>{
if(verificaElemento('.js-register-toplayer')){
clearInterval(z);
document.querySelector('.js-register-toplayer').remove();
}
},800);
}
function modifyGZH()
{
enableUrlChangeDetect();
GM_webRequest([
{"selector":"https://www.rbsonline.com.br/cdn/scripts/paywall.min.js*","action":"ca
ncel"},
{"selector":"https://www.rbsonline.com.br/cdn/scripts/special-
paywall.min.js*","action":"cancel"},
{"selector":"https://api.clicrbs.com.br/paywall-api/*","action":"cancel"}
], function(info, message, details) {
console.log('PAYWALL BLOQUEADO');
incrementaConteudoAPI();
saveDataForDashboard(22);
});
window.addEventListener('locationchange', ()=>{
console.log('MUDEI URL');
verificaAtualizacaoVersao();
});
}
/* Obrigado Stackoverflow -
https://stackoverflow.com/questions/6390341/how-to-detect-if-url-has-changed-after-
hash-in-javascript */
function enableUrlChangeDetect()
{
history.pushState = ( f => function pushState(){
var ret = f.apply(this, arguments);
window.dispatchEvent(new Event('pushstate'));
window.dispatchEvent(new Event('locationchange'));
return ret;
})(history.pushState);
window.addEventListener('popstate',()=>{
window.dispatchEvent(new Event('locationchange'))
});
}
function modifyJVS()
{
let sourceCode;
if(window.location.href.includes("jornalvs.com.br/multimidia")){
removeBlockPaywall();
}else{
if(sourceCode == null){
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
sourceCode = new DOMParser().parseFromString(pageSource,
"text/html");
montaNoticiaJVS(sourceCode);
});
}
}
}
function montaNoticiaJVS(sourceCode)
{
let passei = false;
let r = setInterval(()=>{
let iframes = document.querySelectorAll("iframe");
let r1 = setInterval(()=>{
if(verificaElemento("html") && verificaElemento("body")){
clearInterval(r1);
document.querySelector("html").style.overflow = "auto";
document.querySelector("body").style.overflow = "auto";
if(iframes[i].getAttribute("src").includes("jornalvs.com.br/tools/2019/paywall/")){
iframes[i].remove();
break;
}
}
}
if(passei == false){
incrementaConteudoAPI();
verificaAtualizacaoVersao();
passei = true;
}
}
},800);
break;
}
}
}
},800);
window.addEventListener("load", ()=>{
setTimeout(()=>{
clearInterval(r);
console.log("LIMPEI INTERVAL AFTER 5 SEG");
}, 5000);
});
}
function removeBlockPaywall()
{
let keys = [false, false];
let r = setInterval(()=>{
if(verificaElemento("html") && verificaElemento("body")){
document.querySelector("html").style.overflow = "auto";
document.querySelector("body").style.overflow = "auto";
if(iframes[i].getAttribute("src").includes("jornalvs.com.br/tools/2019/paywall/")){
iframes[i].remove();
keys[0] = true;
break;
}
}
}
window.addEventListener("load", ()=>{
setTimeout(()=>{
clearInterval(r);
console.log("LIMPEI INTERVAL AFTER 5 SEG");
function modifyELPAIS()
{
let passei = false;
let sourceCode;
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
sourceCode = new DOMParser().parseFromString(pageSource, "text/html");
});
let r = setInterval(()=>{
if((verificaElemento("#ctn_closed_article") ||
verificaElemento(".paywallModal") || verificaElemento("#capaPaywall")) &&
sourceCode != null){
if(verificaElemento(".paywallModal"))
document.querySelector(".paywallModal").remove();
if(verificaElemento("#capaPaywall"))
document.querySelector("#capaPaywall").remove();
if(passei==false){
incrementaConteudoAPI();
verificaAtualizacaoVersao();
passei = true;
}
}
}, 800);
window.addEventListener("load", ()=>{
clearInterval(r);
})
}
function removeSubscriptionBanners()
{
let subscriptionsDivs = document.querySelectorAll(".suscripcion");
for(let i=0; i<subscriptionsDivs.length; i++){
subscriptionsDivs[i].remove();
}
window.addEventListener("load", ()=>{
let bannerPaywallOfferBig = document.querySelector("#paywallOfferBig");
if(bannerPaywallOfferBig != null) bannerPaywallOfferBig.remove();
})
}
/* ========================= NEWYORK TIMES =========================== */
function modifyNYTIMES()
{
let r = setInterval(()=>{
if(verificaElemento("#gateway-content")){
clearInterval(r);
document.querySelector("#gateway-content").remove();
incrementaConteudoAPI();
verificaAtualizacaoVersao();
}
}, 800);
}
function modifyNSC()
{
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
let r = setInterval(()=>{
if(sourceCode != null || sourceCode != undefined){
clearInterval(r);
try{
let contentNoticia =
document.querySelector(".ContentFadeOut__Wrapper-sc-164tfq8-0");
contentNoticia.innerHTML = blocoNoticia.outerHTML;
contentNoticia.style.maxHeight = "none";
document.querySelector("#signwall-template").remove();
incrementaConteudoAPI();
verificaAtualizacaoVersao();
}catch(erro){
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br><spam
style='font-weight: bold !important;'>Código do erro: </spam>${erro}`
);
}
}
},800);
}
},800);
});
}
function modifyJOTA()
{
let rotina = setInterval(()=>{
if(verificaElemento("head")) {
clearInterval(rotina);
if(links[i].getAttribute("href").includes("https://www.jota.info/wp-json/wp/v2/
posts/"))
{
linkJSON = links[i].getAttribute("href");
getJsonConteudoNoticia(linkJSON);
break;
}
}
removeBloqueioPaywallJOTA();
verificaAtualizacaoVersao();
}
},800);
}
function getJsonConteudoNoticia(link)
{
let rotina = setInterval(()=>{
if(typeof(axios) == 'function') {
clearInterval(rotina);
axios({
method: "GET",
url: link,
timeout: 15000
}).then((resp)=>{
let respFunction =
setNoticiaContainerJOTA(resp.data.content.rendered);
}).catch((erro)=>{
console.error(erro);
});
}
},800)
}
function setNoticiaContainerJOTA(noticia)
{
let childrenContainer = document.querySelector(".jota-
article__content").children;
let arrayPossibleAttributes = ["style", "data-amp-original-style"];
if(childrenContainer[i].getAttribute(arrayPossibleAttributes[j]).includes("font-
weight:400"))
{
childrenContainer[i].innerHTML = `${noticia}`;
incrementaConteudoAPI();
return 1;
}
}
}
}
return 0;
}
function removeBloqueioPaywallJOTA()
{
let rotina = setInterval(()=>{
if(verificaElemento(".jota-paywall__wrap"))
{
clearInterval(rotina);
document.querySelector(".jota-paywall__wrap").remove();
}
},800);
}
function removeBannerProJOTA()
{
let links = document.querySelectorAll("a");
function modifyPossoLer()
{
const codigo =
`if(typeof(VERSAO_ATUAL) == 'undefined')
{
var VERSAO_ATUAL = '133';
}`;
try{
script.appendChild(document.createTextNode(codigo));
}catch(e){
script.text = codigo;
}finally{
document.head.appendChild(script);
}
}
function modifyGALILEU()
{
let codigoPage;
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
codigoPage = new DOMParser().parseFromString(pageSource, "text/html");
});
removeBloqueioGLOBO();
elementoPai.appendChild(divNoticia);
restauraImgs(elementoPai);
restauraPodcast(divNoticia);
}else if(verificaElemento(".barber-barrier-cpnt")){
clearInterval(rotina);
removeBlockCelular();
}
},800);
verificaAtualizacaoVersao();
}
function removeFooter()
{
let footer = document.querySelectorAll(".banner-bottom-fixed-cpnt");
if(footer.length>0){
for(let i=0; i<footer.length; i++){
footer[i].remove();
}
}
}
function restauraPodcast(codeBody)
{
let podcastElements = codeBody.querySelectorAll("iframe");
if(podcastElements.length>0){
for(let i=0; i<podcastElements.length; i++){
let linkPdct = podcastElements[i].getAttribute("data-src");
if(linkPdct != null){
podcastElements[i].removeAttribute("data-src");
podcastElements[i].setAttribute("src", linkPdct);
}
}
}
}
function removeBlockCelular()
{
let block = document.querySelector(".barber-barrier-cpnt");
if(block != null)
{
block.remove();
document.body.style.overflow = "auto";
verificaAtualizacaoVersao();
incrementaConteudoAPI();
}
}
function modifyEPOCA()
{
let codigoPage;
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
codigoPage = new DOMParser().parseFromString(pageSource, "text/html");
});
removeBloqueioGLOBO();
elementoPai.appendChild(divNoticia);
restauraImgs(elementoPai);
}else if(verificaElemento(".barber-barrier-cpnt")){
clearInterval(rotina);
removeBlockCelular();
}
},800);
verificaAtualizacaoVersao();
}
function restauraImgs(bodyNoticia)
{
let imgsNoticia = bodyNoticia.querySelectorAll("img");
if(linkImg!=null){
imgsNoticia[i].removeAttribute("data-src");
imgsNoticia[i].setAttribute("src",linkImg);
}
}
}
function modifyEXAME()
{
verificaAtualizacaoVersao();
if(new RegExp('/invest\.exame\.com/').test(window.location.href)){
let r = setInterval(()=>{
let paywallBlock = getDivPaywall();
if(paywallBlock != undefined && paywallBlock != null && typeof(axios)
== 'function'){
clearInterval(r);
let s = setInterval(()=>{
if(typeof(Swal) == 'function'){
clearInterval(s);
console.log('ACHEI SWALL');
axios({
method: 'GET',
url: document.location.href,
timeout: 20000
}).then((resp)=>{
let codigoFonte = new DOMParser().parseFromString(resp.data,
'text/html');
let newsBlock = getNewsDiv(codigoFonte);
let u = setInterval(()=>{
if(newsBlock != null && newsBlock != undefined){
clearInterval(u);
if(newsBlock != ''){
sweetAlert(
'success',
'Sucesso',
'Ótimo! Conteúdo desbloqueado!'
);
paywallBlock.innerHTML = newsBlock;
removeInvisibleDiv();
fixTextStyle(paywallBlock);
incrementaConteudoAPI();
}else{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por
favor, tente novamente mais tarde.<br><br><spam style='font-weight: bold !
important;'>Código do erro: </spam>Erro ao montar newsBlock `
);
}
}
},800);
}).catch((erro)=>{
sweetAlert(
'error',
'Erro',
`Ops, tivemos um pequeno problema!<br>Por favor, tente
novamente mais tarde.<br><br><spam style='font-weight: bold !important;'>Código do
erro: </spam>${erro.toString()}`
);
});
}
},800);
}else{
let interval = setInterval(()=>{
if(verificaElemento('#adid') && verificaElemento('#paywallModal')){
clearInterval(interval);
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
function getDivPaywall()
{
let h4 = document.querySelectorAll('h4');
function getNewsDiv(code)
{
let divs = code.querySelectorAll('div');
let htmlCode = '';
function removeInvisibleDiv()
{
let divs = document.querySelectorAll('div');
for(let i=0; i<divs.length; i++){
let classes = divs[i].classList;
for(let j=0; j<classes.length; j++){
if(new RegExp('\_\_AbsoluteDivWrapper\-sc').test(classes[j])){
divs[i].remove();
}
}
}
}
function fixTextStyle(element)
{
element.style.cssText = `
box-shadow: unset !important;
border-radius: unset; !important;
text-align: left;
margin: 0;
color: rgba(0,0,0, 0.87);
font-size: 16px;
font-family: Barlow;
font-weight: 400;
line-height: 24px;
letter-spacing: 0.5px;`;
}
function modifyRESPAI()
{
enableUrlChangeDetect();
checkButtonCreation();
window.addEventListener('locationchange',()=>{
checkButtonCreation();
});
unlockPaidContent();
window.addEventListener('load', ()=>{
try{
verificaAtualizacaoVersao();
metodoOriginal();
metodoAlternativo();
}catch(erro){
alert(erro.toString());
}
});
}
function metodoOriginal()
{
const TIMEOUT = 3000;
setTimeout(()=>{
let codigoSemBloqueio = document.querySelector("html");
let scripts = codigoSemBloqueio.querySelectorAll("script");
removeScriptObserver(scripts, codigoSemBloqueio);
},TIMEOUT);
}
//removeHeaderLogin();
removeBloqueioExercicioLivro()
removeBlur();
removeAllBtnShowSolucao();
removeBloqueioTeoria();
removeBloqueioConteudoExclusivo();
function removeBloqueioExercicioLivro()
{
let keys = [false, false, false];
function removeHeaderLogin()
{
let header =
document.querySelectorAll(".global_menu__fixed_header__login_container");
if(header.length>0){
for(let i=0; i<header.length; i++){
header[i].remove();
}
}
}
function removeBlur()
{
let blurElements = document.querySelectorAll(".blur");
if(blurElements.length>0){
for (let i=0; i<blurElements.length; i++){
blurElements[i].classList.remove("blur");
blurElements[i].style.filter = 'none';
}
incrementaConteudoAPI();
}
}
function removeAllBtnShowSolucao()
{
let btnSolucaoCompleta = document.querySelectorAll("#exercise-expand-button");
if(btnSolucaoCompleta.length>0){
for(let i=0; i<btnSolucaoCompleta.length; i++){
btnSolucaoCompleta[i].remove();
}
}
else{
let btns = document.querySelectorAll(".exercise-theory-expand-button");
for(let i=0; i<btns.length; i++){
btns[i].remove();
}
}
}
function removeBloqueioTeoria()
{
let elementosPaywall = document.querySelectorAll(".paywall");
if(elementosPaywall.length>0){
for(let i=0; i<elementosPaywall.length; i++){
elementosPaywall[i].classList.remove("paywall");
}
}
function removeBloqueioConteudoExclusivo()
{
let bloqueioOverlay = false;
let bloqueioWrapper = false;
function unlockPaidContent()
{
setInterval(()=>{
if(typeof(_current_user) != 'undefined' && _current_user != null)
{
if(_current_user.hasAccess == false)
{
try{
_current_user.hasAccess = true;
document.getElementById("body-wrapper").click()
}catch(e){
console.log("ERRO ATUALIZA FRAME CADEADOS AFTER UNLOCK");
}
finally{
incrementaConteudoAPI();
}
}
}
},800);
}
function metodoAlternativo()
{
try{
expandContent();
removeExpandButtons();
removeShowCompleteSolutionButtons();
removeAllBlurFilter();
incrementaConteudoAPI();
}catch(e){
console.log(`ERRO DESBLOQUEIO RESP AI => ${e.toString()}`);
}
}
function expandContent()
{
let sections = document.querySelectorAll('section');
function removeExpandButtons()
{
let btn = document.querySelectorAll('button');
function removeShowCompleteSolutionButtons()
{
let btn = document.querySelectorAll('button');
function removeAllBlurFilter()
{
//TIRA BLUR TEORIA E EXERCICIOS
if(verificaElemento('body')){
let r = setInterval(()=>{
if(verificaElemento('.paywall-content')){
clearInterval(r);
document.body.innerHTML += '<style>.paywall-content{filter: unset !
important;}</style>';
}
},800);
let u = setInterval(()=>{
if(verificaElemento("#exercicios-resolvidos")){
clearInterval(u);
document.body.innerHTML += '<style>#exercicios-resolvidos
div{filter: unset !important;}</style>';
}
},800);
}
}
/*
===================================================================================
=================== */
if(document.getElementById('btnResposta') == null ||
document.getElementById('btnResposta') == undefined){
let btnResposta = document.createElement('button');
btnResposta.setAttribute('id','btnResposta');
btnResposta.setAttribute('title','Ver Resolução');
btnResposta.innerText = 'Ver resolução do exercício';
document.body.appendChild(btnResposta);
function showSolution()
{
let JWT_TOKEN = getCookie('user_jwt');
let ID_EXERCICIO = getExerciseId();
function getCookie(cname)
{
let name = cname + "=";
let decodedCookie = decodeURIComponent(document.cookie);
let ca = decodedCookie.split(';');
for(let i = 0; i <ca.length; i++) {
let c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return null;
}
function getExerciseId()
{
let fullURL = document.location.href;
let urlParts = fullURL.split("/");
return urlParts[urlParts.length-1];
}
function modifySUPINTERESSANTE()
{
let rotina = setInterval(()=>{
if(verificaElemento(".piano-offer-overlay") &&
verificaElemento("#piano_offer")){
clearInterval(rotina);
removeBloqueioSPRINTERESSANTE();
}
},800);
}
function removeBloqueioSPRINTERESSANTE()
{
document.getElementById("piano_offer").remove();
document.querySelector(".piano-offer-overlay").remove();
document.body.classList.remove("disabledByPaywall");
verificaAtualizacaoVersao();
incrementaConteudoAPI();
}
function modifyGAZETA()
{
fetch(document.location.href)
.then(response => response.text())
.then(pageSource => {
removeBlockGAZETA();
if(getFatherElementGAZETA()){
remountDivNoticiaGAZETA(blocoNoticia);
restauraImgsGAZETA(document.getElementById("tp-post-content"));
}
decrementZindexHeaderGAZETA()
removeFooterGAZETA();
verificaAtualizacaoVersao();
incrementaConteudoAPI();
}
},800);
});
}
function verificaBloqueioGAZETA()
{
return document.querySelector(".tp-container-inner")!=null ? true : false;
}
function getFatherElementGAZETA()
{
return document.querySelector(".tpl-post");
}
function removeBlockGAZETA()
{
document.querySelector(".tp-container-inner").remove();
}
function remountDivNoticiaGAZETA(blocoNoticia)
{
document.getElementById("tp-post-content").innerHTML = blocoNoticia.outerHTML;
}
function decrementZindexHeaderGAZETA()
{
document.getElementById("gp-header").style.zIndex = '99999';
}
function removeFooterGAZETA()
{
let rotina = setInterval(()=>{
if(document.getElementById("d-pos-footer")!=null){
clearInterval(rotina);
document.getElementById("d-pos-footer").remove();
}
}, 800);
}
function restauraImgsGAZETA(bodyNoticia)
{
//REMOVE CLASSE QUE BLOQUEIA IMGs
let classBloqueioImg = bodyNoticia.querySelectorAll(".img-fallback");
//REMONTA AS IMAGENS
let sourceNoticia = bodyNoticia.querySelectorAll("source");
if(linkImg!=null){
sourceNoticia[i].removeAttribute("data-srcset");
sourceNoticia[i].setAttribute("srcset",linkImg);
}
}
}
function modifyFLSP()
{
let rotina = setInterval(() => {
if(verificaElemento('#paywall-flutuante') && verificaElemento('#paywall-
content') && verificaElemento('#paywall-fill')){
clearInterval(rotina);
try{
document.getElementById('paywall-flutuante').remove();
document.getElementById('paywall-fill').remove();
document.getElementById('paywall-content').style.overflow = 'auto';
verificaAtualizacaoVersao();
incrementaConteudoAPI();
}catch(erro){
console.error(`ERRO AO REMOVER PAYWALL FLSP --> $
{erro.toString()}`);
}
}
}, 800);
}
function importCDNSnackBar()
{
let i = setInterval(()=>{
if(verificaElemento("head")){
clearInterval(i);
//ADD SWEETALERT JS
let sweetAlertJS = document.createElement('script');
sweetAlertJS.setAttribute('src',
'https://cdn.jsdelivr.net/npm/sweetalert2@10');
document.body.appendChild(sweetAlertJS);
}
},800);
}
function verificaAtualizacaoVersao()
{
if(window.location.href.includes('possoler.tech')) return;
axios({
method: 'get',
url: URL_API_UPDATE,
timeout: 20000,
}).then((resposta)=>{
let updateVersion = resposta.data.update.currentVersion;
let msgUpdate = resposta.data.params.msg;
let tituloBtn = resposta.data.params.btnMgs;
let tempo = resposta.data.params.time;
if(CURRENT_VERSION<updateVersion){
tempoAwait = 12;
let options = configSnackBar(msgUpdate,tituloBtn,tempo);
Snackbar.show(options);
}
verificaMensagensAPI(tempoAwait);
}).catch((erro)=>{
console.error(erro);
verificaMensagensAPI(tempoAwait);
});
}
}, 800);
}
function verificaMensagensAPI(time)
{
const URL_MESSAGES = 'https://possoler.tech/API/searchMessages.php';
let r = setInterval(()=>{
if(typeof(axios) == 'function'){
clearInterval(r);
axios({
method: 'GET',
url: URL_MESSAGES,
timeout: 40000,
}).then((resposta)=>{
if(resposta.data.messages.length>0){
setTimeout(()=>{
let qtdMessages = resposta.data.messages.length;
showSnackMessages(resposta, qtdMessages);
}, time*1000);
}
}).catch((erro)=>{
console.error(erro);
});
}
},800);
}
let options = {
text: resposta.data.messages[contMessageIndex].msg,
actionTextColor: '#a1ff00',
showAction: true,
actionText: 'OK',
pos: 'top-right',
duration: tempoMensagemAPI*1000,
customClass: 'snackBarMsg',
};
Snackbar.show(options);
contMessageIndex++;
tempoMensagemAPI++;
setTimeout(()=>{
if(contMessageIndex>=qtdMessages) return;
showSnackMessages(resposta, qtdMessages);
}, tempoMensagemAPI*1000);
}
function incrementaConteudoAPI()
{
const ENDPOINT_INCREMENTVIEWS =
'https://possoler.tech/API/incrementViewsConteudos.php';
if(typeof(axios) == 'function'){
axios({
method: 'post',
url: ENDPOINT_INCREMENTVIEWS,
timeout: 60000
}).then((resposta)=>{
console.log('Contabilizar noticia API = ' + resposta.data.status);
}).catch((erro)=>{
console.log('ERRO Contabilizar noticia API');
console.log(erro);
});
}else if(self.fetch){
fetch(ENDPOINT_INCREMENTVIEWS)
.then(response => response.text())
.then(pageSource => {
console.log('Contabilizar noticia API = SUCESSO');
}).catch((erro)=>{
console.log('ERRO Contabilizar noticia API');
console.log(erro);
});
}else{
console.log('[INCREMENT API FAIL]');
}
}
function getCurrentDate()
{
let today = new Date();
let dd = String(today.getDate()).padStart(2, '0');
let mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0!
let yyyy = today.getFullYear();
today = `${yyyy}-${mm}-${dd}`;
return today;
}
function getCurrentTime()
{
let today = new Date();
let hh = String(today.getHours()).padStart(2, '0');
let mm = String(today.getMinutes()).padStart(2, '0');
let ss = String(today.getSeconds()).padStart(2, '0');
today = `${hh}:${mm}:${ss}`;
return today;
}
function saveDataForDashboard(codigoSite)
{
let currentData = getCurrentDate();
let currentTime = getCurrentTime();
const ENDPOINT_DASHBOARD =
'https://possoler.tech/API/acessos/insertDadosAcesso.php';
let r = setInterval(()=>{
if(currentData != null && currentTime != null){
clearInterval(r);
if(typeof(axios) == 'function'){
axios({
method: 'POST',
url: ENDPOINT_DASHBOARD,
timeout: 30000,
data: JSON.stringify({
codigo_site: codigoSite,
data: currentData,
horario: currentTime
})
}).then((resp)=>{
if(resp.data.STATUS == 'Sucesso ao executar query!'){
console.log('[AXIOS] DASHBOARD DATA OK!');
}else{
console.log('[AXIOS] DASHBOARD DATA ERROR!');
}
}).catch((erro)=>{
console.log('[AXIOS] FALHA DASHBOARD!', erro.toString());
});
}else if(self.fetch){
fetch(ENDPOINT_DASHBOARD,
{
method: 'POST',
body: JSON.stringify({
codigo_site: codigoSite,
data: currentData,
horario: currentTime
})
}).then(function(res){ return res.json(); })
.then(function(resp){
if(resp.STATUS == 'Sucesso ao executar query!'){
console.log('[FETCH] DASHBOARD DATA OK!');
}else{
console.log('[FETCH] DASHBOARD DATA ERROR!');
}
}).catch((erro)=>{
console.log('[FETCH] FALHA DASHBOARD!', erro.toString());
});
}else{
console.log('SEM AXIOS E FETCH DASHBOARD');
}
}
},800);
}
let r = setInterval(()=>{
if(typeof(Swal) == 'function'){
clearInterval(r);
Swal.fire({
html: CODE,
allowEscapeKey: false,
allowOutsideClick: false,
showConfirmButton: true,
showCancelButton: true,
confirmButtonText: "Enviar Log",
cancelButtonText: "Não, obrigado",
input: 'checkbox',
inputValue: 0,
inputPlaceholder: "Sempre reportar logs de erros dessa página",
customClass: {
popup: 'logReport',
content: 'contentLogReport',
htmlContainer: 'contentLogReport',
actions: 'marginTop',
container: 'zIndex'
},
inputValidator: (result) => {
let response = (result) ? "true" : "false";
localStorage.setItem('sendLog', response);
},
}).then((result)=>{
if(result.isConfirmed){
sendLogRequest(msgErro, siteErro);
}
});
}
},800);
}else{
sendLogRequest(msgErro, siteErro);
}
}
axios({
method: 'POST',
url: 'https://possoler.tech/API/log_report/',
timeout: 30000,
data:{
msg: msgErro,
site: siteErro
}
}).then((resp)=>{
if(resp.data == "sucesso"){
console.log('LOG CRIADO COM SUCESSO');
return;
}
console.log(`FALHA AO CRIAR LOG - ${resp.data}`);
}).catch((erro)=>{
console.log(`FALHA AO CRIAR LOG - ${erro.toString()}`);
});
}
},800);
}
var contMessageIndex=0;
function verificaElemento(elemento)
{
return (document.querySelector(elemento)!=null) ? true : false;
}
function blockPaywallRequest(urlBlock)
{
const BLOCKED_URL_REQUEST = urlBlock;
GM_webRequest([
{"selector": BLOCKED_URL_REQUEST, "action": "cancel"},
], function(info, message, details) {
console.log('PAYWALL BLOQUEADO');
});
if(typeof(axios) == 'function'){
axios({
method: 'GET',
url: BLOCKED_URL_REQUEST,
timeout: 10000
}).then((resp)=>{
console.log('SUCESSO REQUEST AXIOS');
}).catch((erro)=>{
console.log('FALHA REQUEST AXIOS');
incrementaConteudoAPI();
});
} else if(self.fetch){
fetch(BLOCKED_URL_REQUEST)
.then(response => response.text())
.then(pageSource => {
console.log('SUCESSO REQUEST FETCH');
}).catch((erro)=>{
console.log('FALHA REQUEST FETCH');
incrementaConteudoAPI();
});
}
let r = setInterval(()=>{
if(typeof(axios) == 'function'){
clearInterval(r);
verificaAtualizacaoVersao();
}
},800);
}
/*
=> DETECTA MUDANÇA NA ARVORE DE ELEMENTOS DA DOM
document.addEventListener("DOMSubtreeModified", ()=>{
});
*/