搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 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.

被選擇的解決方法

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

----
  • resource:///
  • resource://gre/
  • resource://gre-resources/ => resource://gre/chrome/toolkit/res/
從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

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

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

由 cor-el 於 修改

more options

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

This is so useful.

Thanks.