Chrome Lockdown - disable URL bar

Solved Locked

Hi,

I've been trying to lockdown a TC57 Zebra scanner to just launch chrome without displaying a URL bar.

The issue is i cannot use Soti Surf as the website we are accesssing only supports Google Chrome.

IS there any way to achieve this?

5 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
5 years ago

You can use Managed Play to distribute a web app

Solution
C
Christophe
5 years ago

Hello all,

@luke -> i'm not expert but you can use a javascript inside the lockdown page (html) who hide some feature of google chrome.

Here is it a sample

<script …>

function openUrl()

{

    var options = "location=no, toolbar=no, menubar=no, scrollbars=yes, resizable=yes";

    var theUrl = "<MCLink0>";

    // TEST URL alert(theUrl);

    window.open(theUrl, "", options);

}

</script>

...

<body>

….

<td onclick="openUrl();">

….

LH
Luke Hodgkinson
5 years ago

Hi Matt,

This worked perfectly, thank you for your answer.

Regards,

Luke