Skip to content

Instantly share code, notes, and snippets.

@nsrau
Last active May 30, 2022 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nsrau/bcfa8f12c3f64e98a6372a1d1fead329 to your computer and use it in GitHub Desktop.
Save nsrau/bcfa8f12c3f64e98a6372a1d1fead329 to your computer and use it in GitHub Desktop.
ByePassei Direto
// copiar o codigo e colar na console do browser
// se nao sabe como fazer segue o link abaixo
// https://www.digitalocean.com/community/tutorials/how-to-use-the-javascript-developer-console
const removeElements = (elements) => {
if (elements && elements.length) {
elements.forEach((element) => {
element.remove();
});
}
};
setInterval(() => {
const fakeLimitation = document.querySelectorAll(
".mv-content-limitation-fake-page"
);
const fakeImg = document.querySelectorAll("img.bi");
const pageContent = document.querySelectorAll(".page-content");
const banner = document.querySelectorAll(".register-banner");
const boxOverlaw = document.querySelectorAll(".test-blocked-answer");
removeElements([...fakeLimitation, ...fakeImg, ...banner, ...boxOverlaw]);
if (pageContent) {
pageContent.forEach((c) => (c.style.filter = ""));
}
}, 10);
// react version
const stylePreview = document.createElement("style");
stylePreview.innerHTML = `.file-text-preview.hidden-content:after{backdrop-filter: none!important} pre{user-select: all!important}div,span,section{filter: none !important;}`;
document.body.appendChild(stylePreview);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment