diff --git a/javascript/none.c b/javascript/none.c index e5cfb0d33..b5cfc7875 100644 --- a/javascript/none.c +++ b/javascript/none.c @@ -21,12 +21,14 @@ */ #include "content/content.h" +#include "desktop/options.h" #include "javascript/js.h" #include "utils/log.h" void js_initialise(void) { + nsoption_set_bool(enable_javascript, false); } void js_finalise(void) diff --git a/test/js/index.html b/test/js/index.html index 276854712..a7d34f5a1 100644 --- a/test/js/index.html +++ b/test/js/index.html @@ -11,6 +11,7 @@

Document write tests