Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Chrome:// URI path for an icon in omni.ja

  • 2 respostas
  • 1 tem este problema
  • 1 visualização
  • Última resposta por Quisquose

more options

URI paths can be used to access internal resources in Firefox.

For example, the URI: chrome://mozapps/skin/extensions/rating-won.png relates to the real physical folder path of: ... /omni.ja!/chrome/toolkit/skin/classic/mozapps/extensions/rating-won.png

What is the chrome:// URI for the this particular icon?: ... /omni.ja!/contentaccessible/html/folder.png

It is higher up the tree than the usual top-level items, and I can't figure out the correct chrome URI for it.

URI paths can be used to access internal resources in Firefox. For example, the URI: '''chrome://mozapps/skin/extensions/rating-won.png''' relates to the real physical folder path of: '''... /omni.ja!/chrome/toolkit/skin/classic/mozapps/extensions/rating-won.png''' What is the '''chrome://''' URI for the this particular icon?: ''' ... /omni.ja!/contentaccessible/html/folder.png''' It is higher up the tree than the usual top-level items, and I can't figure out the correct chrome URI for it.

Solução escolhida

Maybe it is easier to use resource:// links?

----
  • resource:///
  • resource://gre/
  • resource://gre-resources/ => resource://gre/chrome/toolkit/res/
Ler esta resposta no contexto 👍 1

Todas as respostas (2)

more options

Solução escolhida

Maybe it is easier to use resource:// links?

----
  • resource:///
  • resource://gre/
  • resource://gre-resources/ => resource://gre/chrome/toolkit/res/

Modificado por cor-el a

more options

OMG, how have I never heard of searchfox.org before?

This is so useful.

Thanks.