Javascript: Configure web page to open it in fullscreen mode

Task: Add configuration to webpage to open it in fullscreen mode


1. add manifest.json file with:

  "name": "WebClock",
  "short_name": "WebClock",
  "start_url": "",
  "display": "standalone",
  "icons": [{
    "src": "images/logo.png",
    "sizes": "512x512",
    "type": "image/png"

2. add using of it in your index.html file:

        <meta charset="utf-8">
        <link rel="manifest" href="manifest.json">


Leave a Reply

Your email address will not be published. Required fields are marked *

2  +  5  =  

Skynin cache:
Array ( [cache mode] => capture [requestKey] => [skycache_disable_capture] => false )