是否可以启用Ipad谷歌浏览器的alway请求桌面站点 [英] Is it possible to enable alway request desktop site of Ipad google chrome

查看:240
本文介绍了是否可以启用Ipad谷歌浏览器的alway请求桌面站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在网站上工作,我试图使用谷歌浏览器使用我的苹果ipad查看同一个网站。但是在Ipad中有一个选项请求桌面网站,如果我启用它我没有启用它,有些事件没有触发示例asp.net日历事件。我的问题是

是否有可能为我的网站启用请求桌面网站..... 。???????





谢谢,

Hi all,
Iam working on a website and Im trying to view the same website using my apple ipad using google chrome.But in Ipad there is an option Request Desktop site if i enable it all is doing well.But Iam not enable it,some events are not firing example asp.net calendar events.My question is
Is it possible to enable request desktop site always for my website......???????


Thanks,

推荐答案

启用请求桌面站点时,所有浏览器都会更改用户代理字符串作为请求标头



如果您的网站在启用时有不同的行为,那是因为您的网站或其组件是针对移动设备设计的更改行为。



请看看你的网站及其组件并试着禁用这种行为。



默认用户代理:



When you enable "Request Desktop Site" all the browser does is change the user agent string provided as part of the request header.

If you website has a different behaviour when this is enabled it's because your website or its components are designed change behaviour for mobile devices.

So look at your website and it's components and try and disable the behaviour.

Default user agent:

Mozilla/5.0 (iPhone; U; CPU iPhone OS 5_1_1 like Mac OS X; en-gb)
AppleWebKit/534.46.0 (KHTML, like Gecko)
CriOS/19.0.1084.60 Mobile/9B206 Safari/7534.48.3





请求桌面用户代理:





Request Desktop user agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3)
AppleWebKit/534.53.11 (KHTML, like Gecko)
Version/5.1.3 Safari/534.53.10





这是与用户端点视角的唯一不同。其他一切都是网站的行为。



That's the only different from the user end point perspective. Everything else the behaviour of the website.


希望这些能帮助你

查看


这篇关于是否可以启用Ipad谷歌浏览器的alway请求桌面站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆