单击 rel="external" 后如何保持全屏模式链接?

发布于 2024-09-25 08:50:57 字数 244 浏览 1 评论 0 原文

我正在构建一个移动网络应用程序,允许用户使用 openauth 通过 Facebook 登录。没有弹出窗口,但 Facebook 会强制您访问他们的页面并将您重定向回您指定的 uri。因此,Facebook 移动登录页面没有ajax 加载。这就是为什么我将 rel="external" 放在锚点处。

当我处于全屏模式时,单击这些链接将自动进入 Safari。从而离开全屏模式。

我可以知道这附近有吗?或者有其他方法无需重定向即可登录FB吗?

I'm building a mobile web app that allow user to login through Facebook using openauth. There are no pop-up but Facebook will force you to go their page and redirect you back to the uri that you stated. Therefore, there are no ajax loading of the facebook mobile login page. That's why i put rel="external" at the anchor.

When I'm in the full screen mode, clicking on those links will automatically brings me to Safari. Thus leaving the full screen mode.

May I know is there anyway around this? or are there other method of logging into FB without redirecting?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

听你说爱我 2024-10-02 08:50:57
<a target="_webapp" href='http://www.cnn.com">Cnn</a>

相对更改为目标。任务完成了。

<a target="_webapp" href='http://www.cnn.com">Cnn</a>

Change rel to target. Mission accomplished.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文