Orca
Orca

Reputation: 2025

What is the JavaScript trick behind Google Chrome's automatic installation?

If you visit https://www.google.com/intl/en/chrome/browser/ and click Download Chrome, it will take you to a page where it installs chrome directly (inline) without downloading the exe and then needing you to click on it. I find this amazingly user-friendly for Windows users and I would like to emulate it, however I am completely puzzled at how they are doing it.

Any explanation or documentation about this js thingamagicks?

Upvotes: 2

Views: 241

Answers (1)

RB.
RB.

Reputation: 37222

On Windows it appears to be using Microsoft ClickOnce deployment, as demonstrated in the screenshot below. It's nothing to do with JavaScript, but is something you should be able to replicate fairly easily (even for non-.NET applications);

enter image description here

Upvotes: 3

Related Questions