user3084715
user3084715

Reputation: 83

How to link to google chromes downloads page from html?

I am making my own personal homepage for my chrome web browser. I want to add a link on this page to go to my downloads page. Such as if I were to hit ctrl+j or just type in "chrome://downloads" in my address bar. I have a link set up and I set the href attribute to "chrome://downloads" but it will not open. It does nothing at all.

Before anyone says to search for an answer, I have been searching for about an hour now.

example of my link:

<a href="chrome://downloads" target="_blank">Downloads</a>

Upvotes: 3

Views: 107

Answers (1)

Pekka
Pekka

Reputation: 449783

Chrome isn't allowing this for security reasons.

The JavaScript console says:

enter image description here

a JSFiddle is here.

It's unlikely that there is a workaround, although you could try having the file on a local file:/// URL and seeing whether the restrictions are less strict there.

Upvotes: 1

Related Questions