How to remove "Fullscreen" button from html5 export?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By arcidi
:warning: Old Version Published before Godot 3 was released.

Hello!
I simply want to remove that “Fullscreen” button from html5 export.
I tried changing “fullscreenButtonElement.disabled” variable in .html file, but it did’t change anything.

:bust_in_silhouette: Reply From: eska

Disable Controls Enabled in the HTML5 export options

If you don’t want to reexport, you can change this line:

if (true) { // controls enabled

to:

if (false) { // controls enabled

in the .html that was already generated.