Reprint: About full-screen mode and APP mode in Google Chrome

Source: Internet
Author: User

Preface: I have been wrestling with this article should be categorized in the "Development of the front section" in the scope, haha!

Some time ago to do a project, involving a full-screen mode to access the Web page needs, because Google chrome is very efficient, and specifically for Chrome to do a lot of web pages, so on the Internet to find how to let Chrome when allowed to direct full-screen mode. Thought it would be fullscreen and the like parameters, did not expect the parameter name is quite biased.

Just recently and colleagues said this time, colleagues told me there is an APP mode, can also be used to meet some special needs, tonight have tried, the two have their own use, say what I think.

Full Screen mode: Kiosk

This word is very special, isn't it? Yes, it is actually from the "newsstand" has been derived from the "Self-service kiosk" meaning, whether we can understand that the Kiosk mode is to remove user-accessible interface, just to the user a service-related interface? Direct conjecture.

The default full screen opens a Web page, only need to add --kiosk [url] in the shortcut, such as:

For full-screen mode, there are a few things to note:

1, full-screen mode, advertising plug-ins (such as Adblock) is useful, so the target page of some style name, URL address, the same should be careful to avoid ad words;
2, full-screen mode, press F11 will not exit the full screen, the mouse moves to the top of the screen will not be prompted to exit full screen;
3, full-screen mode, there is no close button, unless the user knows ctrl+w can be closed, otherwise they added the Exit menu on the webpage;
4, full-screen mode, is a multi-label, when you use the page in the target= "_blank" Open a new tab page, the user although can not see, but, closed a, will show the original page, so should try to avoid new window open;
5, if the current running other Chrome window, then full screen open is not valid, will be directly in the existing chrome with a new tab to open the way;
6, full-screen mode, press Ctrl+shift+b shortcut key is unable to bring up the bookmark bar;

These are some of the problems that may be encountered in development as a summary.

Application Mode: App

App mode This is more normal, the app is also a very fire in recent years, the concept of "do a app", hehe. "
The APP mode parameters are relatively easy to understand, append --app=[url] to the shortcut, such as:

There are a few things to note about APP mode:

1, ibid, in the APP mode, the advertising plugin is useful, you need to pay attention to the style name and URL address do not include ad words;
2, the APP mode after the start, rendering a vertical screen effect, width is not equal to the user's screen width, but is adjustable, there is a maximum button, and at the next start, will continue the last width;
3, the APP mode is also no address bar, no toolbar, no bookmarks bar, shortcut keys can not be recalled;
4, the APP mode, the system taskbar icon will become the Favicon icon of the Web page, and the window title does not have Google Chrome words;
5, APP mode, is not multi-label, when the page appears target= "_blank" need to open in a new window, will call or launch the default browser to open the destination URL, the user will be detached from the APP mode;

These are also found in the use of some of the problems, or need to pay attention to the place, I hope that in the development of the time to pay more attention, do not detours.

At last

As always, a few words to the end.
These two special models, have certain purposes, such as to do in-house web site, such as a touch screen application, and so on, as to what the mode of use, of course, depends on the needs, but in the use of the need to pay attention to the above problems.

Reprint: About full-screen mode and APP mode in Google Chrome

Related Article

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.