Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How can I create a link to the internal download management page?

  • 4 件の返信
  • 2 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: cor-el

more options

Hi!

I'm currently attempting to create a custom new tab/startup homepage and I've been adding links to pages I visit often, of course. Well I'd like to add "Add-ons" and "Downloads" that take me to "about:addons" and "about:downloads". I assumed it would be as simple as

<a href="about:downloads">Downloads</a>

but it makes sense that this wouldnt work. What can I do/use to get this working? Thanks.

Hi! I'm currently attempting to create a custom new tab/startup homepage and I've been adding links to pages I visit often, of course. Well I'd like to add "Add-ons" and "Downloads" that take me to "about:addons" and "about:downloads". I assumed it would be as simple as <a href="about:downloads">Downloads</a> but it makes sense that this wouldnt work. What can I do/use to get this working? Thanks.

すべての返信 (4)

more options

Use the chrome URI instead (see the title bar in View Page Source):

  • chrome://mozapps/content/extensions/extensions.xul
  • chrome://browser/content/downloads/contentAreaDownloadsView.xul
more options

Hmm, it doesn't seem to be working.

You do mean

<a href="chrome://browser/content/downloads/contentAreaDownloadsView.xul">Downloads</a>

yes?

more options

Still no dice. Is this possible?

more options

No. That isn't possible with code on a page loaded in a browser. Only an extension that has chrome privileges would be able to open such a link. You can only create a bookmark to open about: pages