搜尋 Mozilla 技術支援網站

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

Learn More

cannot open link to EPUBreader catalog (chrome:// URL)

  • 2 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 oberver9

more options

I have FF 16.0.2 and the EPUBreader extension installed and it works fine. When I click on a local .epub file, it opens in the browser. Have also a local webserver (http://localhost) and a home page with all my local and external links. I would like to add a link to the Epub catalog like that: <a href="chrome://epubreader/content/catalog.xul" target=_blank>BOOKS</a> The problem is that FF does not show anything when the link is clicked. How do I fix it?

I have FF 16.0.2 and the EPUBreader extension installed and it works fine. When I click on a local .epub file, it opens in the browser. Have also a local webserver (http://localhost) and a home page with all my local and external links. I would like to add a link to the Epub catalog like that: <a href="chrome://epubreader/content/catalog.xul" target=_blank>BOOKS</a> The problem is that FF does not show anything when the link is clicked. How do I fix it?

被選擇的解決方法

Only an extension can open a chrome URL via such a link on a web page.
You may see a security error in the "Tools > Error Console".
You can use a bookmark with the location set to the chrome URL instead if you want to open the catalog.xul page.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

選擇的解決方法

Only an extension can open a chrome URL via such a link on a web page.
You may see a security error in the "Tools > Error Console".
You can use a bookmark with the location set to the chrome URL instead if you want to open the catalog.xul page.

more options

Thank you for the tip on the Error Console - yes, I see the security error. I was hoping there is a way to disable those errors in config or user.js. Later found the Epub catalog link preset in Bookmarks and Tools, so looks like I'll have to use it from there only.