• Hi, is it possible to remove the browser address/tool bar from the web app? With toolbar showing and hiding on scroll, it does not feel much like a native app. More like just another browser tab…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Yes, it is. What you’re looking for is to change the display field in the Web App Manifest to standalone. See the Wiki for the plugin code to enable this.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi Weston, excellent thanks ??

    Any plans to add a simple options page allowing to set this, and other Manifest values, in the admin?

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    By the way, I just found that if I set a 12 character Short Name with special character in it, like “On the Rh?ne” it will get cut off at 11 characters after saving. The short name with a simple “o” instead of the “?” does not suffer this issue.

    Overriding the short name with the 12 letters and special character via the web_app_manifest filter does work though ??

    Plugin Author Weston Ruter

    (@westonruter)

    Any plans to add a simple options page allowing to set this, and other Manifest values, in the admin?

    That’s a good question. In fact, changing the display field comes of frequently enough that it probably warrants a field in the admin. I’ve filed an issue to address this.

    By the way, I just found that if I set a 12 character Short Name with special character in it, like “On the Rh?ne” it will get cut off at 11 characters after saving. The short name with a simple “o” instead of the “?” does not suffer this issue.

    Oh, good catch. Yes, this is due to having used substr() instead of mb_substr() in sanitize_short_name. I can see that using the latter will fix the issue: https://3v4l.org/DeJdr

    I’ve opened another issue for that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove tool bar’ is closed to new replies.