Make a local HTML5 full screen app with Chrome

Source: Internet
Author: User

Now that HTML5 is strong, how do you make a Web page look like a local app? Only Chrome browser can be implemented. (But of course you can only use HTML, you can't operate the local system)

Take Baidu as an example:

  1. Use Chrome to open Baidu https://www.baidu.com/
  2. Open Chrome menu More tools Create app shortcuts
  3. You'll create a shortcut to open a Web site on your desktop and open a shortcut, and the browser has no address bar and looks like an app.
  4. But there is also the title bar, how to run the full screen? Add the parameter --kioskafter the app's shortcut to full screen.
  5. Of course, if you don't have a Web site or need to be networked, you can access local HTML directly. Of course, it's best to open local file access, add parameters after shortcut --allow-file-access-from-files
  6. You can also change the shortcut to a nice icon.

The contents of the shortcut are as follows:

"C:\Program Files (x86) \google\chrome\application\chrome.exe"--allow-file-access-from-files--app=file:///d:/work /web/index.html--kiosk

Make a local HTML5 full screen app with Chrome

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.