aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/plugins/cookies.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/data/plugins/cookies.py')
-rw-r--r--examples/data/plugins/cookies.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/data/plugins/cookies.py b/examples/data/plugins/cookies.py
index a4ae530..8fb9b32 100644
--- a/examples/data/plugins/cookies.py
+++ b/examples/data/plugins/cookies.py
@@ -88,7 +88,7 @@ class TextStore(object):
xdg_data_home = os.environ.get('XDG_DATA_HOME', os.path.join(os.environ['HOME'], '.local/share'))
DefaultStore = TextStore(os.path.join(xdg_data_home, 'uzbl/cookies.txt'))
-SessionStore = ListStore()
+SessionStore = TextStore(os.path.join(xdg_data_home, 'uzbl/session-cookies.txt'))
def accept_cookie(uzbl, cookie):
for component, match in uzbl.cookie_blacklist:
@@ -148,6 +148,3 @@ def init(uzbl):
export_dict(uzbl, {
'cookie_blacklist' : []
})
-
- for cookie in get_store(uzbl, True):
- uzbl.send('add_cookie %s' % cookie)