diff options
Diffstat (limited to 'api/jsapi.7.txt')
-rw-r--r-- | api/jsapi.7.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt index dc0a417d..76cc98d7 100644 --- a/api/jsapi.7.txt +++ b/api/jsapi.7.txt @@ -761,6 +761,19 @@ Deferred.when(asyncOperation(), function() {...}); Deferred.when(syncOperation(), function() {...}); --------------------------------- +=== settings === + +Readonly object that can be used to query dwb's current settings, all settings +can also be used in camelcase, to modify settings *execute* can be used. + +==== +[source,javascript] +--------------------------------- +if (settings.enablePrivateBrowsing == true) + execute("set enable-private-browsing false"); +--------------------------------- +==== + == WEBKIT OBJECTS == |