【问题标题】:using inappbrowser to convert website to mobile app without showing the link of the website使用 inappbrowser 将网站转换为移动应用程序而不显示网站的链接
【发布时间】:2016-10-16 20:24:55
【问题描述】:

我正在使用 phonegap 来拥有我的网站(已托管在共享托管服务器中)并具有响应式网页设计。我已经尝试过发布问题中提供的解决方案:

  1. 在 src 中键入我的网站链接,这已成功完成,因为加载了索引页面并且应用程序中没有显示网站链接,但是一旦用户单击任何按钮(基本上转到其他网站页面),它将打开它在应用程序内,但显示了网页的链接,您可以看到我从手机(android)获取的屏幕截图。

<content src="http://192.168.1.4:8080/www/index.html" />

我在答案中遵循了相同的说明,并将目标设置为 _self 如下:

indow.open(url, target, options);

但它仍然显示网站的链接。

谢谢

【问题讨论】:

标签: android html cordova


【解决方案1】:

好的,我解决了这个问题,实际上我需要设置 location = no 并且链接不会显示

【讨论】:

    猜你喜欢
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-05-17
    • 1970-01-01
    • 2011-03-15
    • 1970-01-01
    相关资源
    最近更新 更多