admin管理员组文章数量:1026694
Is there a way to force or prompt a user to use the windows 8 desktop browser if they hit my web page with the windows 8 RT browser? I want to be able to use plugins like Silverlight.
Is there a way to force or prompt a user to use the windows 8 desktop browser if they hit my web page with the windows 8 RT browser? I want to be able to use plugins like Silverlight.
Share Improve this question edited Aug 15, 2012 at 16:36 stevebot asked Aug 15, 2012 at 16:18 stevebotstevebot 24.1k35 gold badges132 silver badges184 bronze badges 1- 1 tablet-news./2012/02/02/… states that this might be the case – stevebot Commented Aug 15, 2012 at 16:42
2 Answers
Reset to default 7Yes, you can prompt users to switch to the Desktop version. Microsoft added this as a fallback for sites that need it. (But not with JavaScript)
http://blogs.msdn./b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx
Developers with sites that need plug-ins can use an HTTP header or meta tag to signal Metro style Internet Explorer to prompt the user.
HTTP Header
X-UA-Compatible: requiresActiveX=true
META Tag
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true" />
Metro style IE10 detects these flags, and provides the consumer a one-touch option to switch to IE10 on the desktop:
Microsoft is strongly encouraging us, however, to move to an HTM5 plug-in free world. Whether that happens or not remains to be seen, but it wouldn't surprise me if they made it harder and harder to use plug-ins in the future. They're the source of plenty of security holes.
So long-term, it might be better to start eliminating the use of plug-ins in your code. That makes sense considering the plethora of Android, IOS, and other tablets and phones out there. Cross-platform web development has never been more important than it is now, and I'm betting that will continue to be the trend.
If you design your website so that it is limited to be used in one browser, people might just avoid using it altogether. I know I would, unless it was a website that I HAD to use. i.e. banking website, or something for work.
Perhaps you should make a cross browser friendly website, and for the more enhanced features create an APP?
Is there a way to force or prompt a user to use the windows 8 desktop browser if they hit my web page with the windows 8 RT browser? I want to be able to use plugins like Silverlight.
Is there a way to force or prompt a user to use the windows 8 desktop browser if they hit my web page with the windows 8 RT browser? I want to be able to use plugins like Silverlight.
Share Improve this question edited Aug 15, 2012 at 16:36 stevebot asked Aug 15, 2012 at 16:18 stevebotstevebot 24.1k35 gold badges132 silver badges184 bronze badges 1- 1 tablet-news./2012/02/02/… states that this might be the case – stevebot Commented Aug 15, 2012 at 16:42
2 Answers
Reset to default 7Yes, you can prompt users to switch to the Desktop version. Microsoft added this as a fallback for sites that need it. (But not with JavaScript)
http://blogs.msdn./b/ie/archive/2012/01/31/web-sites-and-a-plug-in-free-web.aspx
Developers with sites that need plug-ins can use an HTTP header or meta tag to signal Metro style Internet Explorer to prompt the user.
HTTP Header
X-UA-Compatible: requiresActiveX=true
META Tag
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true" />
Metro style IE10 detects these flags, and provides the consumer a one-touch option to switch to IE10 on the desktop:
Microsoft is strongly encouraging us, however, to move to an HTM5 plug-in free world. Whether that happens or not remains to be seen, but it wouldn't surprise me if they made it harder and harder to use plug-ins in the future. They're the source of plenty of security holes.
So long-term, it might be better to start eliminating the use of plug-ins in your code. That makes sense considering the plethora of Android, IOS, and other tablets and phones out there. Cross-platform web development has never been more important than it is now, and I'm betting that will continue to be the trend.
If you design your website so that it is limited to be used in one browser, people might just avoid using it altogether. I know I would, unless it was a website that I HAD to use. i.e. banking website, or something for work.
Perhaps you should make a cross browser friendly website, and for the more enhanced features create an APP?
本文标签: javascriptRedirect user to desktop browser in windows 8Stack Overflow
版权声明:本文标题:javascript - Redirect user to desktop browser in windows 8 - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745651368a2161338.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论