开发者

Make Chrome frame installer not ask user for admin privileges?

开发者 https://www.devze.com 2023-04-12 17:48 出处:网络
I have an HTML5 site with canvas etc that uses Chrome frame to work on IE8 and older browsers. The installer currently (as of Oct 11 2011) asks the user for Admin privileges to \'make changes to thi

I have an HTML5 site with canvas etc that uses Chrome frame to work on IE8 and older browsers.

The installer currently (as of Oct 11 2011) asks the user for Admin privileges to 'make changes to this computer'.

However in testing it seems that even if the user clicks 'no', that Chrome frame still installs (I can see it rendering canvas elements etc).

I'd like not to bother users with the password prompt,开发者_开发百科 as it seems unnecessary (and a bit scary).

Is there a way I can have users install Chrome Frame without prompting users for their password?


For the sake of completeness, here's the URL Robert Shield provided, attached to the CFinstall.check():

CFInstall.check({
   mode: "overlay",
   url: "http://www.google.com/chromeframe?user=true",
   destination: "http://yoursite.com"
});

This will install Chrome Frame on a per-user basis by default.

0

精彩评论

暂无评论...
验证码 换一张
取 消