[英]JS+IE9 (default security): Redirect automatically to clickonce application
I need to be able to redirect from a silverlight application to a clickonce .application. 我需要能够从silverlight应用程序重定向到clickonce .application。 The problem with this is that SL redirects via javascript, and it seems IE9 in its default security settings won't allow it.
这个问题是SL通过javascript重定向,似乎IE9在其默认安全设置中不允许它。
Right now I'm stuck redirecting to a page with a "Click here to proceed" link, but it's not really the best. 现在,我一直停留在重定向到带有“单击此处继续”链接的页面上,但这并不是最好的选择。 I tried redirecting to the link address automatically, but to no avail.
我尝试自动重定向到链接地址,但无济于事。
This would all work if I have my page added as a secure site, but I can't go telling people that they need to do that if they want to use this correctly... If any of you can tell me how to make my page prompt the user to add the site as secure without them having to do so manually, though, I would consider the issue resolved. 如果将我的页面添加为安全站点,这一切都会奏效,但是如果有人要正确使用此信息,我就无法告诉人们他们需要这样做...如果有人可以告诉我如何制作自己的网站页面提示用户将站点添加为安全站点,而无需手动添加,尽管如此,我认为该问题已解决。
Thanks in advance. 提前致谢。
So in the end we phased out SL and used a standard aspx (because of this and other issues). 因此,最终,我们淘汰了SL,并使用了标准的aspx(因为存在此问题和其他问题)。 Thanks for your time, everyone.
谢谢大家的宝贵时间。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.