W
W
weslyg2016-07-18 10:39:32
JavaScript
weslyg, 2016-07-18 10:39:32

How to disable the standard button bar of the chrome application window?

Essence. You need to create a custom extension close menu. I saw similar on other applications, for example Chrome Remove Desktop.
Better yet, turn it off completely. to get just a web page, without a windows bar.
Rummaged through the documentation, climbed the forums, tried to look for this option in the "Chrome Remove Desktop" resources - without success.
Does anyone know how this can be done?
0a109982286d48bc8c2a4895f1dca687.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
weslyg, 2016-07-18
@weslyg

Well, while I was waiting for an answer, I found the answer myself)
I went through the FAR resources of the Chrome remote, and found several files, in the first there is nothing interesting, but in the second I found a not very noticeable property 'frame': 'none' And that's it) now that's it works as it should)
The view bar is no more) aa05cdd0eb9d4a37a731e5a24140879b.png
The final window creation code looks like this)
chrome.app.window.create('index.html', {
'width': 800,
'height': 100,
'frame': 'none '
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question