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

92
Visualizações
Google Extension Edit Address Bar Content

I have built a Chrome extension that edits the new tab page by replacing it with the index.html of my site. The only problem is that the address bar shows https://example.com/index.html/. How can I make the address bar blank, or edit it to something like Search here?

I tried to edit my site's code such that on page load, the text is edited, but it changes to https://example.com/search-here.html/.

Is there any Chrome extensions permission/property I can use, or some other thing I can do on the server end?

Thank you:)

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

0

It seems like you need to register an override page in the extension manifest.

Override pages are a way to substitute an HTML file from your extension for a page that Google Chrome normally provides. In addition to HTML, an override page usually has CSS and JavaScript code.

Here’s an example from the docs:

{
  "name": "My extension",
  ...

  "chrome_url_overrides" : {
    "pageToOverride": "myPage.html"
  },
  ...
}

For pageToOverride, substitute one of the following:

  • bookmarks
  • history
  • newtab
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