Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

130
Visualizações
Create a chrome extension to change the style of a div on a webpage?

I am trying to create a chrome extension that can increase the height of a div on a web page. I am able to use chrome dev tools to edit the height, which works great, but would like a chrome extension so I dont have to manually edit it every time I use it. I have a manifest.json set up and a css/js script to go along with it. I'm just not sure the exact code I need to get this working. The div I am trying to edit:

<div _ngcontent-ckv-c51="" style="width: 850px; height: 600px; overflow: auto;"><canvas _ngcontent-ckv-c51="" id="imageCanvas" style="cursor: move;" width="816" height="1056"></canvas></div>

I am trying to have the chrome extension change the height: 600px to 1000px

I have tried to do this with my css:

#_ngcontent-ywe-c51 {
  width: 850px; 
  height: 1000px; 
  overflow: auto;
}

Do I need to use js to have this change work? Am I missing something? Thanks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda