搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 2 人有此问题
  • 6 次查看
  • 最后回复者为 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