Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

260
Vistas
Use javascript to edit inner code of an iframe

I'm using google trends widget to show some stuff on my website, but it comes with an annoying and ugly looking footer which i wanted very much to remove

enter image description here

if I run javascript code in the console it can easily be removed

like:

let c = document.querySelector("body > div > trends-widget > ng-include > widget > div > div > ng-include:nth-child(3)");
c.parentElement.removeChild(c);

this will work fine if used in the chrome dev console, but if try to run this code in the page html it does nothing ( i guess there is something related with cors blocks)

does anyone know any way to edit a third party iframe or just remove this annoying google footer?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda