Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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