diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-20 17:21:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-20 17:21:24 +0200 |
commit | 80399781100796ea62184a2a908fc7fe23b27303 (patch) | |
tree | 2f20653e34590295414e3fbcd78cd9a86c5eeee5 /doc | |
parent | 0923a1f7007fe69ad6f7e6942c4255e24a6780c1 (diff) | |
parent | 0422027f07efb8e7e27e02ebec82319fdab68e52 (diff) |
Merge pull request #42211 from Calinou/doc-javascript-build-time-disable
Document that the JavaScript singleton may be disabled at build-time
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/JavaScript.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/JavaScript.xml b/doc/classes/JavaScript.xml index d2cb558385..c707a72ee8 100644 --- a/doc/classes/JavaScript.xml +++ b/doc/classes/JavaScript.xml @@ -5,6 +5,7 @@ </brief_description> <description> The JavaScript singleton is implemented only in the HTML5 export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs. + [b]Note:[/b] This singleton can be disabled at build-time to improve security. By default, the JavaScript singleton is enabled. Official export templates also have the JavaScript singleton enabled. See [url=https://docs.godotengine.org/en/latest/development/compiling/compiling_for_web.html]Compiling for the Web[/url] in the documentation for more information. </description> <tutorials> <link title="Exporting for the Web: Calling JavaScript from script">https://docs.godotengine.org/en/latest/getting_started/workflow/export/exporting_for_web.html#calling-javascript-from-script</link> |