How to edit chromium code to hide address bar?

How to edit chromium code to hide/remove address bar?

  • I have built chromium based on chromium.org. Now I need to modify the UI. I need to hide(remove) the address bar and also I need to disable the right click option. Could you please suggest (explain) which file I need to edit in-order to do this tasks.

  • Answer:

    I'm not on my Ubuntu system right now, so I can't check it, but you should be able to run chromium in Kiosk mode. It's a command-line switch "--kiosk". This will disable the address bar for you. For your reference, here's a full list of http://peter.sh/experiments/chromium-command-line-switches/ To get rid of context menus, use JavaScript on the page to capture the right-click (mouse button 2) and then simply ignore the input.

Sanil Joseph at Ask Ubuntu Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.