summaryrefslogtreecommitdiff
path: root/api/jsapi.7.txt
diff options
context:
space:
mode:
authorportix <none@none>2013-02-24 14:56:56 +0100
committerportix <none@none>2013-02-24 14:56:56 +0100
commitc9c7b7d771b1a8ddcd694b161646a835d32e06d2 (patch)
tree152e67a3c7c26915b1a1192f2445df2e66b0495e /api/jsapi.7.txt
parentc73ee707670d85e8c14e75abc0c1ed7a5ad7ec42 (diff)
downloaddwb-c9c7b7d771b1a8ddcd694b161646a835d32e06d2.zip
New object settings
Diffstat (limited to 'api/jsapi.7.txt')
-rw-r--r--api/jsapi.7.txt13
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 ==