aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-18 19:01:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-18 19:01:15 -0300
commitac284ae865dcf2b6b49e89a64148f99dfd7d58a0 (patch)
treead759a2bf22c15902c35589743acdfd9bb6120e1
parent3a61ee3426496b9fadf4bb2355b02bbffb98e80e (diff)
downloadluakit-ac284ae865dcf2b6b49e89a64148f99dfd7d58a0.tar.gz
luakit-ac284ae865dcf2b6b49e89a64148f99dfd7d58a0.tar.bz2
Fix soup.accept_policy and disable sessman
-rw-r--r--config.dot/luakit.link/globals.lua4
-rw-r--r--config.dot/luakit.link/rc.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/config.dot/luakit.link/globals.lua b/config.dot/luakit.link/globals.lua
index 6364862..eb51a3e 100644
--- a/config.dot/luakit.link/globals.lua
+++ b/config.dot/luakit.link/globals.lua
@@ -47,8 +47,8 @@ end
soup.ssl_strict = true
-- Set cookie acceptance policy
-cookie_policy = { always = 0, never = 1, no_third_party = 2 }
-soup.accept_policy = cookie_policy.always
+-- Valid values are always, never or no_third_party
+soup.accept_policy = "always"
-- List of search engines. Each item must contain a single %s which is
-- replaced by URI encoded search terms. All other occurances of the percent
diff --git a/config.dot/luakit.link/rc.lua b/config.dot/luakit.link/rc.lua
index 16f9031..26a7c2c 100644
--- a/config.dot/luakit.link/rc.lua
+++ b/config.dot/luakit.link/rc.lua
@@ -162,7 +162,7 @@ local tab_favicons = require "tab_favicons"
local view_source = require "view_source"
-- Load sessman
-local sessman = require "sessman"
+--local sessman = require "sessman"
-----------------------------
-- End user script loading --