0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[console.log] Added boolean option ecmascript.enable_console_log. Disabled by default.

This commit is contained in:
Witold Filipczyk
2021-02-22 16:05:55 +01:00
parent bc7a1ae6ad
commit 7f1d718993
2 changed files with 14 additions and 8 deletions

View File

@@ -47,6 +47,10 @@ static union option_info ecmascript_options[] = {
"enable", 0, 0,
N_("Whether to run those scripts inside of documents.")),
INIT_OPT_BOOL("ecmascript", N_("Console log"),
"enable_console_log", 0, 0,
N_("When enabled logs will be appended to ~/.elinks/console.log.")),
INIT_OPT_BOOL("ecmascript", N_("Script error reporting"),
"error_reporting", 0, 0,
N_("Open a message box when a script reports an error.")),