Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

340
Views
Bloquear secuencias de comandos en línea que detectan devtools en edge/chromium

Estoy ejecutando la versión cromada de edge y he instalado ublock origin, y me pregunto cómo podría desactivar este script para que no se cargue en un sitio. ya sea a través de anulaciones u origen ublock preferiblemente

 <script data-cfasync="false" type="text/javascript"> if (-1 != navigator.userAgent.indexOf("Chrome") || -1 != navigator.userAgent.indexOf("Safari") || -1 != navigator.userAgent.indexOf("MSIE") || -1 != navigator.userAgent.indexOf("coc_coc_browser")) { var checkStatus, element = new Image; Object.defineProperty(element, "id", { get: function() { throw checkStatus = "on", new Error("Dev tools checker") } }), setInterval(function() { checkStatus = "off", console.dir(element), "on" == checkStatus && (-1 != window.location.href.indexOf("?ep=")) && (window.location.href = window.location.href.split("watching.html")[0]) }, 1e3) } - 1 != navigator.userAgent.indexOf("Firefox") && window.addEventListener("devtoolschange", e => { 1 == e.detail.isOpen && (-1 != window.location.href.indexOf("?ep=")) && (window.location.href = window.location.href.split("watching.html")[0]) }); ! function() { "use strict"; const i = { isOpen: !1, orientation: void 0 }, e = (i, e) => { window.dispatchEvent(new CustomEvent("devtoolschange", { detail: { isOpen: i, orientation: e } })) }; setInterval(() => { const n = window.outerWidth - window.innerWidth > 160, o = window.outerHeight - window.innerHeight > 160, t = n ? "vertical" : "horizontal"; o && n || !(window.Firebug && window.Firebug.chrome && window.Firebug.chrome.isInitialized || n || o) ? (i.isOpen && e(!1, void 0), i.isOpen = !1, i.orientation = void 0) : (i.isOpen && i.orientation === t || e(!0, t), i.isOpen = !0, i.orientation = t) }, 500), "undefined" != typeof module && module.exports ? module.exports = i : window.devtools = i }(); window.addEventListener("devtoolschange", e => { e.detail.isOpen && (-1 != window.location.href.indexOf("?ep=")) && (window.location.href = window.location.href.split("watching.html")[0]) }); </script>

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Si es un archivo js separado, puede bloquear archivos js específicos para cargar. Abra DevTools -> pestaña network -> seleccione el archivo y haga clic derecho -> elija block Request URL .

Pero si está cargado en la página, creo que esto no será posible. Si elige deshabilitar javascript, todo el contenido del script de la página no funcionará, lo que afectará el funcionamiento general de la página.

about 4 years ago · Juan Pablo Isaza Report

0

uBO tiene algunas buenas herramientas para detener esto.
Eche un vistazo a https://github.com/uBlockOrigin/uBlock-issues/wiki/Resources-Library

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!