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

248
Visualizações
How to create a Popup window in an extension?

I tried to create a popup window in the extension that I pull through GreasyFork, but since there is only JS there, I can’t bring the window to the output. How can I create a popup window in js?

I tried to wrap it in a function and substitute it in my own execution conditions, but how to attach the rest? if they are not considered in js? enter image description here I also tried that, but it doesn't work either enter image description here

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

İf you want open a new window:

chrome.windows.create({
   url: 'popup.html',
   type: 'popup', width: 400, height: 400,
});

İf you want open with on new tab:

chrome.tabs.create({ url:"popup.html" });

But you must add "tabs" permission to use this method.

about 4 years ago · Juan Pablo Isaza Relatório

0

You should handle this in the manifest file. read this

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