Is it possible to "hide" the browser toolbars, bookmarks and the like?

Asked

Viewed 807 times

0

With the following code, I can open a new window hiding various browser components...

<a href="#" onClick="javascript:visualControl('newpage.html'); return false;"> 

 SampleText!

</a>

function visualControl(str) {
    window.open(str, 'popupwindowalpha','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,menubar=no'); 
}

However, me I’d like to open the page, hiding these components, that’s possible?

OR still, that it was possible, on and off these components on the same page...

*important detail, eh for a internal application, for the company’s intranet, only to leave the cleaner look, does not wish to withdraw the official’s freedom.

thank you!

  • 3

    Fortunately, I didn’t. Even, in Opera until version 12, you could hide the controls, but the user could activate them at any time, even in the new window (or popup) what is ideal in my view. If your application does not work well with going back, forward, or typing things into the URL, it is the application’s default. But almost everything has reasonable solution. If you really need this control, it’s a sign that it might be the case of native App, which is the only way to have a completely predictable UI, and to give a more elaborate (or terrible, user experience depends on your kkk skills).

  • native app? what would that be please??

  • 1

    An executable made for the machine, without the limits of the browser. A program that runs in windows, outside the browser, or that is installed on the mobile device, without the "web" layer compromising interactivity. It’s been about 10 years since I’ve seen people say that the browser was going to replace this, not only have they failed, but for the next 10 years I have peace of mind saying it’s not going to happen. Today we have very interesting languages and frameworks, in which you reuse code and compile for various systems, like Qt, for example, which is based on C++, but abstract much of the complexities.

1 answer

1

You can’t do it the way you want, but there are two ways to do something like this.

  1. Using an HTML5 API Full Screen, to leave in full screen
  2. Using making a desktop application with Electron, using web technology like html, css and javascript. Using this, by default comes hidden the entire navigation bar

Browser other questions tagged

You are not signed in. Login or sign up in order to post.