Use w:notify() to notify when cookies are enabled/disabled - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 7bd7efddd2a76b6fdeb0bd7b9960698129b0571a
(DIR) parent 67d4ca2e10f5c943d4ab551a40921240adb8d7eb
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Tue, 2 Oct 2018 23:39:52
Use w:notify() to notify when cookies are enabled/disabled
Diffstat:
config/luakit/userconf.lua | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff -r 67d4ca2e10f5 -r 7bd7efddd2a7 config/luakit/userconf.lua
--- a/config/luakit/userconf.lua Tue Oct 02 22:31:11 2018 +0200
+++ b/config/luakit/userconf.lua Tue Oct 02 23:39:52 2018 +0200
@@ -48,8 +48,10 @@
if soup then
if soup.accept_policy == "never" then
soup.accept_policy = "no_third_party"
+ w:notify("Cookies enabled")
else
soup.accept_policy = "never"
+ w:notify("Cookies disabled")
end
end
end },