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

187
Views
Cómo deshabilitar/omitir la política de seguridad de contenido con Tampermonkey

Entonces usé firebase auth para conectarme a una pequeña aplicación web que hice en tampermonkey

 auth.signInWithEmailAndPassword(email, password)

El problema es que cuando lo uso en la página de destino, el contenido se bloquea debido Content-Security-Policy pero esto se puede solucionar en Firefox desactivando la política de seguridad de contenido.

lo que probé

1 / Obtenga los datos con este script fetch(auth.signInWithEmailAndPassword(email, password)) https://github.com/mitchellmebane/GM_fetch/blob/master/GM_fetch.js

2/ GM.xmlHttpRequest

 GM.xmlHttpRequest({ method: "POST", url: "...googleapis.com/v1/accounts:signInWithCustomToken?key="bla..bla", headers: { "Content-Type": "application/json" }, data: {"email":email,"password":password,"returnSecureToken":true}, onload: function(response) { auth.signInWithEmailAndPassword(email, password) } })

3 / Extensión de cromo

https://chrome.google.com/webstore/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden?hl=en

about 4 years ago · Juan Pablo Isaza
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!