diff options
Diffstat (limited to 'api/jsapi.txt')
-rw-r--r-- | api/jsapi.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/api/jsapi.txt b/api/jsapi.txt index 918f7650..25eddd9f 100644 --- a/api/jsapi.txt +++ b/api/jsapi.txt @@ -1403,6 +1403,22 @@ Deferred.when(asyncOperation(), function() {...}); Deferred.when(syncOperation(), function() {...}); --------------------------------- +[[settings]] +=== 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. + +.Example + +==== +[source,javascript] +--------------------------------- +if (settings.enablePrivateBrowsing == true) + execute("set enable-private-browsing false"); +--------------------------------- +==== + [[Webkitobjects]] == Webkit objects == |